summaryrefslogtreecommitdiff
path: root/packages/iptables/iptables_1.3.3.bb
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2005-08-15 08:20:36 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-15 08:20:36 +0000
commit72c8b5cb808541d3460f72e0740c2ccc5aff3fb4 (patch)
tree1151e636aace738b4fd08c4c54fe20fccd43509d /packages/iptables/iptables_1.3.3.bb
parentc3e8dd99251f1207443bff6a0d85dd9c55006bc9 (diff)
parent2886887ee4611ab6d6bc4af836856dce541e86a0 (diff)
merge of 26ad3f94c9657a7c1863c3ac7d31f1fa6c42b738
and 65876316eaa0a47f796c7bf502478eb9c886d0b8
Diffstat (limited to 'packages/iptables/iptables_1.3.3.bb')
-rw-r--r--packages/iptables/iptables_1.3.3.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/iptables/iptables_1.3.3.bb b/packages/iptables/iptables_1.3.3.bb
new file mode 100644
index 0000000000..a67df35806
--- /dev/null
+++ b/packages/iptables/iptables_1.3.3.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "iptables network filtering tools"
+HOMEPAGE = "http://www.netfilter.org/"
+SECTION = "console/utils"
+LICENSE = "GPL"
+PR = "r1"
+
+PACKAGES =+ "${PN}-utils"
+FILES_${PN}-utils = "${bindir}/iptables-save ${bindir}/iptables-restore"
+
+SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2"
+
+S = "${WORKDIR}/iptables-${PV}"
+
+PARALLEL_MAKE=""
+
+export COPT_FLAGS = "${CFLAGS}"
+export KERNEL_DIR = "${STAGING_INCDIR}"
+
+do_compile () {
+ unset CFLAGS
+ oe_runmake BINDIR=${D}${sbindir} LIBDIR=${D}${libdir} MANDIR=${D}${mandir} NO_SHARED_LIBS=1
+}
+
+do_install () {
+ oe_runmake BINDIR=${D}${bindir} LIBDIR=${D}${libdir} MANDIR=${D}${mandir} install NO_SHARED_LIBS=1
+}
+
+FILES_${PN}-doc += "${mandir}"
+