Lines 7-13
Link Here
|
7 |
# Force users doing their own patches to install their own tools |
7 |
# Force users doing their own patches to install their own tools |
8 |
AUTOTOOLS_AUTO_DEPEND=no |
8 |
AUTOTOOLS_AUTO_DEPEND=no |
9 |
|
9 |
|
10 |
inherit eutils toolchain-funcs autotools |
10 |
inherit eutils toolchain-funcs autotools linux-info |
11 |
|
11 |
|
12 |
DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" |
12 |
DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" |
13 |
HOMEPAGE="http://www.iptables.org/" |
13 |
HOMEPAGE="http://www.iptables.org/" |
Lines 15-22
Link Here
|
15 |
|
15 |
|
16 |
LICENSE="GPL-2" |
16 |
LICENSE="GPL-2" |
17 |
SLOT="0" |
17 |
SLOT="0" |
18 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
18 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" |
19 |
IUSE="ipv6 netlink static-libs" |
19 |
IUSE="ipv6 netlink static-libs ksource" |
20 |
|
20 |
|
21 |
RDEPEND=" |
21 |
RDEPEND=" |
22 |
netlink? ( net-libs/libnfnetlink ) |
22 |
netlink? ( net-libs/libnfnetlink ) |
Lines 33-39
Link Here
|
33 |
eautomake |
33 |
eautomake |
34 |
|
34 |
|
35 |
# use the saner headers from the kernel |
35 |
# use the saner headers from the kernel |
36 |
rm -f include/linux/{kernel,types}.h |
36 |
#rm -f include/linux/{kernel,types}.h |
37 |
|
37 |
|
38 |
# Only run autotools if user patched something |
38 |
# Only run autotools if user patched something |
39 |
epatch_user && eautoreconf || elibtoolize |
39 |
epatch_user && eautoreconf || elibtoolize |
Lines 50-56
Link Here
|
50 |
--enable-libipq \ |
50 |
--enable-libipq \ |
51 |
--enable-shared \ |
51 |
--enable-shared \ |
52 |
$(use_enable static-libs static) \ |
52 |
$(use_enable static-libs static) \ |
53 |
$(use_enable ipv6) |
53 |
$(use_enable ipv6) \ |
|
|
54 |
$(use_with ksource kernel ${KERNEL_DIR}) |
54 |
} |
55 |
} |
55 |
|
56 |
|
56 |
src_compile() { |
57 |
src_compile() { |