Lines 7-13
Link Here
|
7 |
# since 'ettercap NG' has to be intended as an upgrade to 0.6.x series and not as |
7 |
# since 'ettercap NG' has to be intended as an upgrade to 0.6.x series and not as |
8 |
# a new project or branch, this will be fine... |
8 |
# a new project or branch, this will be fine... |
9 |
|
9 |
|
10 |
inherit flag-o-matic |
10 |
WANT_AUTOMAKE="1.8" |
|
|
11 |
|
12 |
inherit flag-o-matic autotools |
11 |
|
13 |
|
12 |
MY_P="${PN}-NG-${PV}" |
14 |
MY_P="${PN}-NG-${PV}" |
13 |
S="${WORKDIR}/${MY_P}" |
15 |
S="${WORKDIR}/${MY_P}" |
Lines 18-30
Link Here
|
18 |
|
20 |
|
19 |
LICENSE="GPL-2" |
21 |
LICENSE="GPL-2" |
20 |
SLOT="0" |
22 |
SLOT="0" |
21 |
KEYWORDS="alpha ~amd64 arm hppa ppc sparc x86 ~x86-fbsd" |
23 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~x86-fbsd" |
22 |
IUSE="ssl ncurses gtk debug" |
24 |
IUSE="ssl ncurses gtk debug" |
23 |
|
25 |
|
24 |
# libtool is needed because it provides libltdl (needed for plugins) |
26 |
# libtool is needed because it provides libltdl (needed for plugins) |
25 |
RDEPEND="virtual/libc |
27 |
RDEPEND=">=sys-devel/libtool-1.4.3 |
26 |
sys-libs/zlib |
|
|
27 |
>=sys-devel/libtool-1.4.3 |
28 |
>=net-libs/libnet-1.1.2.1-r1 |
28 |
>=net-libs/libnet-1.1.2.1-r1 |
29 |
net-libs/libpcap |
29 |
net-libs/libpcap |
30 |
ncurses? ( sys-libs/ncurses ) |
30 |
ncurses? ( sys-libs/ncurses ) |
Lines 34-39
Link Here
|
34 |
DEPEND=">=sys-apps/sed-4.0.5 |
34 |
DEPEND=">=sys-apps/sed-4.0.5 |
35 |
${RDEPEND}" |
35 |
${RDEPEND}" |
36 |
|
36 |
|
|
|
37 |
src_unpack() { |
38 |
unpack ${A} |
39 |
cd "${S}" |
40 |
|
41 |
epatch "${FILESDIR}"/${P}-as-needed.patch |
42 |
|
43 |
eautomake |
44 |
} |
45 |
|
37 |
src_compile() { |
46 |
src_compile() { |
38 |
strip-flags |
47 |
strip-flags |
39 |
|
48 |
|
Lines 55-59
Link Here
|
55 |
} |
64 |
} |
56 |
|
65 |
|
57 |
src_install() { |
66 |
src_install() { |
58 |
make DESTDIR="${D}" install || die "make install failed" |
67 |
emake DESTDIR="${D}" install || die "make install failed" |
59 |
} |
68 |
} |