gdbserver: fix for noMMU targets
[openadk.git] / package / iptables / Makefile
blob66f81c2b051fde44b0c6c8a9940bfcdb0c37c65d
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= iptables
7 PKG_VERSION:= 1.6.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 0fc2d7bd5d7be11311726466789d4c65fb4c8e096c9182b56ce97440864f0cf5
10 PKG_DESCR:= netfilter firewalling software
11 PKG_SECTION:= net/firewall
12 PKG_DEPENDS:= libnetfilter_conntrack libmnl libnfnetlink
13 PKG_KDEPENDS:= ip-nf-iptables ip-nf-filter ip-nf-nat nf-conntrack-ipv4
14 PKG_KDEPENDS+= ip-nf-target-reject ip-nf-target-masquerade
15 PKG_BUILDDEP:= libnetfilter_conntrack pkgconf-host
16 PKG_URL:= http://www.netfilter.org/
17 PKG_SITES:= http://www.netfilter.org/projects/iptables/files/
18 PKG_OPTS:= dev
20 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
22 include ${ADK_TOPDIR}/mk/package.mk
24 $(eval $(call PKG_template,IPTABLES,iptables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
26 AUTOTOOL_STYLE:= autoreconf
27 TARGET_LDFLAGS+= -fPIC
28 CONFIGURE_ARGS+= --enable-devel \
29 --disable-nftables
31 iptables-install:
32 ${INSTALL_DIR} ${IDIR_IPTABLES}/{usr/lib,etc/xtables,usr/sbin}
33 ${INSTALL_DATA} ./files/firewall.conf ${IDIR_IPTABLES}/etc
34 ${INSTALL_DATA} ./files/connlabel.conf ${IDIR_IPTABLES}/etc/xtables
35 ${CP} ${WRKINST}/usr/sbin/iptables ${IDIR_IPTABLES}/usr/sbin
36 ${CP} ${WRKINST}/usr/sbin/ip6tables ${IDIR_IPTABLES}/usr/sbin
37 ${CP} ${WRKINST}/usr/sbin/iptables-{save,restore} \
38 ${IDIR_IPTABLES}/usr/sbin
39 ${CP} ${WRKINST}/usr/sbin/xtables-multi ${IDIR_IPTABLES}/usr/sbin
40 ${CP} ${WRKINST}/usr/lib/libiptc.so* ${IDIR_IPTABLES}/usr/lib
41 ${CP} ${WRKINST}/usr/lib/libip4tc.so* ${IDIR_IPTABLES}/usr/lib
42 ${CP} ${WRKINST}/usr/lib/libip6tc.so* ${IDIR_IPTABLES}/usr/lib
43 ${CP} ${WRKINST}/usr/lib/libxtables.so* ${IDIR_IPTABLES}/usr/lib
44 ${CP} ${WRKINST}/usr/lib/xtables ${IDIR_IPTABLES}/usr/lib
46 include ${ADK_TOPDIR}/mk/pkg-bottom.mk