DOCS="COPYING INSTALL KNOWN_BUGS" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=1.2.4 PROGNAME="iptables - IP packet filter administration" DESC="iptables-$VERSION\n\n\ Iptables is used to set up, maintain, and inspect the tables of IP\n\ packet filter rules in the Linux kernel. There are several different\n\ tables which may be defined, and each table contains a number of\n\ built-in chains, and may contain user-defined chains." # maintainer BUILD=1 MAINTAINER="Robert Stan " SOURCE=http://netfilter.samba.org/ LOCATION=ftp://ftp.linuxmafia.org/pub/Slackware-8/robert/iptables-$VERSION # package name PKGNAME=iptables compile() { tar xvyf $CWD/$PKGNAME-$VERSION.tar.bz2 cd $PKGNAME-$VERSION CFLAGS=-O2 make \ BINDIR=/usr/sbin \ LIBDIR=/usr/lib \ MANDIR=/usr/man \ INCDIR:=/usr/include CFLAGS=-O2 make \ BINDIR=/usr/sbin \ LIBDIR=/usr/lib \ MANDIR=/usr/man \ INCDIR:=/usr/include experimental } install() { make BINDIR=/usr/sbin LIBDIR=/usr/lib MANDIR=/usr/man INCDIR:=/usr/include install make BINDIR=/usr/sbin LIBDIR=/usr/lib MANDIR=/usr/man INCDIR:=/usr/include install-devel make BINDIR=/usr/sbin LIBDIR=/usr/lib MANDIR=/usr/man INCDIR:=/usr/include install-experimental mkdir -p /usr/doc/$PKGNAME-$VERSION cp -a $DOCS /usr/doc/$PKGNAME-$VERSION } attributes() { echo "No special attributes..." } special() { echo "Nothing special... easy job :-)" } subpacks() { echo "No subpacks..." }