summaryrefslogtreecommitdiff
path: root/packages/iptables/iptables_1.2.9.bb
blob: 213802d17fdd9f07aaf7e2beda8cff685fa87395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SECTION = "console/network"
DESCRIPTION = "iptables network filtering tools"
LICENSE = "GPL"
PR = "r2"

SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2 \
	   file://compile.patch;patch=1"

S = "${WORKDIR}/iptables-${PV}"

export COPT_FLAGS = "${CFLAGS}"
export KERNEL_DIR = "${STAGING_INCDIR}"

do_compile () {
	unset CFLAGS
	oe_runmake BINDIR=${D}${bindir} LIBDIR=${D}${libdir} MANDIR=${D}/usr/man NO_SHARED_LIBS=1
}

do_install () {
#	oe_runmake PREFIX=${prefix} DESTDIR=${D} install
	oe_runmake BINDIR=${D}${bindir} LIBDIR=${D}${libdir} MANDIR=${D}/usr/man install NO_SHARED_LIBS=1
}