blob: 5db0b4774253881054888b19f8386374ec009192 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcdrop/dhcdrop-0.5.ebuild,v 1.1 2013/09/13 09:34:33 pinkbyte Exp $
EAPI="5"
inherit eutils
DESCRIPTION="Effectively suppresses illegal DHCP servers on the LAN"
HOMEPAGE="http://www.netpatch.ru/dhcdrop.html"
SRC_URI="http://www.netpatch.ru/projects/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~mips ~x86"
IUSE="static"
RDEPEND="!static? ( net-libs/libpcap )"
DEPEND="static? ( net-libs/libpcap[static-libs] )
${RDEPEND}"
DOCS=( AUTHORS ChangeLog INSTALL NEWS README )
src_prepare() {
epatch_user
}
src_configure() {
econf $(use static && echo "--enable-static-build")
}
|