core/iptables/Pkgfile

25 lines
591 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.11.1
release=2
source=(ftp://ftp.netfilter.org/pub/iptables/$name-$version.tar.bz2
$name-$version-man-fixes.patch)
build () {
cd $name-$version
patch -p1 -i $SRC/$name-$version-man-fixes.patch
automake
./configure --prefix=/usr \
--mandir=/usr/man \
--libexecdir=/usr/lib \
--enable-libipq
make
make DESTDIR=$PKG install
}