22 lines
640 B
Plaintext
22 lines
640 B
Plaintext
# Description: A Linux kernel packet filter control tool
|
|
# URL: http://www.iptables.org/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
name=iptables
|
|
version=1.4.0
|
|
release=1
|
|
source=(ftp://ftp.netfilter.org/pub/iptables/$name-$version.tar.bz2)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
# we do not want/need these kernel-headers included
|
|
# in the iptables sources.
|
|
rm include/linux/netfilter_ipv4/ip_tables.h
|
|
rm include/linux/netfilter_ipv6/ip6_tables.h
|
|
|
|
# use the userland kernel-headers
|
|
make -j1 PREFIX=/usr KERNEL_DIR=/usr KBUILD_OUTPUT=/usr
|
|
make PREFIX=/usr DESTDIR=$PKG install install-devel
|
|
}
|