| 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 | # Depends on: |
| 6 | |
| 7 | name=iptables |
| 8 | version=1.4.5 |
| 9 | release=1 |
| 10 | source=(ftp://ftp.netfilter.org/pub/iptables/$name-$version.tar.bz2) |
| 11 | |
| 12 | build () { |
| 13 | cd $name-$version |
| 14 | |
| 15 | ./configure --build=$CHOST \ |
| 16 | --host=$CTARGET \ |
| 17 | --prefix=/usr \ |
| 18 | --mandir=/usr/man \ |
| 19 | --libexecdir=/usr/lib \ |
| 20 | --enable-libipq |
| 21 | |
| 22 | make |
| 23 | make DESTDIR=$PKG install |
| 24 | } |