summaryrefslogtreecommitdiff
path: root/iptables/iptables_1.2.9.oe
blob: 6b59b32a7aadd9f16246f46ae63189c1df284c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "iptables network filtering tools"
DEPENDS = "virtual/libc"

SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2"

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

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

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

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