DOCS="COPYING INSTALL KNOWN_BUGS" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var:/storage STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=1.2 PROGNAME="iptables - IP packet filter administration" DESC="\ Iptables is used to set up, maintain, and inspect the tables of IP packet\n\ filter rules in the Linux kernel. There are several different tables which\n\ may be defined, and each table contains a number of built-in chains, and\n\ may contain user-defined chains." # maintainer BUILD=1 MAINTAINER="Robert Stan " SOURCE=http://netfilter.kernelnotes.org/ LOCATION=ftp://ftp.linuxmafia.org/pub/Slackware-7/robert/iptables-1.2 # package name PKGNAME=iptables compile() { tar xvyf $CWD/$PKGNAME-$VERSION.tar.bz2 cd $PKGNAME-$VERSION CFLAGS=-O2 make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man } install() { make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man install 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..." }