| 1 | # Description: A Linux kernel packet filter control tool |
| 2 | # URL: http://www.iptables.org/ |
| 3 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | |
| 6 | name=iptables |
| 7 | version=1.6.2 |
| 8 | release=1 |
| 9 | source=(ftp://ftp.netfilter.org/pub/iptables/$name-$version.tar.bz2) |
| 10 | |
| 11 | build () { |
| 12 | cd $name-$version |
| 13 | ./configure --build=$CHOST \ |
| 14 | --host=$CTARGET \ |
| 15 | --prefix=/usr \ |
| 16 | --libexecdir=/usr/lib \ |
| 17 | --enable-libipq \ |
| 18 | --disable-nftables |
| 19 | make |
| 20 | make DESTDIR=$PKG install |
| 21 | } |