summaryrefslogtreecommitdiff
path: root/iptables/iptables_1.2.11.oe
blob: f2e4d752af8da3c1f7c937427fca2d3712cefae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "iptables network filtering tools"
HOMEPAGE = "http://www.netfilter.org/"
SECTION = "console/utils"
LICENSE = "GPL"

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}/${bindir} 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}"