LANGUAGE=english DOCS="CHANGES COPY* Copyright DNS.README INSTALL READM* *.png" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=2.01-09 PVERSION=2.01.09 PROGNAME="webalizer" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ webalizer: webalizer-$VERSION\n\ webalizer:\n\ webalizer: A fast, free web server log file analysis program. Produces\n\ webalizer: HTML output for viewing with a web browser. Features multiple\n\ webalizer: language support, incremental processing capabilities, reverse\n\ webalizer: DNS lookup support, export via tab seperated ascii files to\n\ webalizer: popular databases and spreadsheets, and much more. Supports\n\ webalizer: standard CLF and combined logs, as well as wu-ftpd xferlog and\n\ webalizer: squid proxy logs, which can be either in standard text format\n\ webalizer: or gzip compressed.\n\ webalizer:" # maintainer ARCH=i586 BUILD=2rob MAINTAINER="Robert Stan " SOURCE=http://www.mrunix.net/webalizer/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/webalizer-$VERSION/ # package name PKGNAME="webalizer-${PVERSION}-${ARCH}-${BUILD}" compile() { tar xvyf $CWD/webalizer-$VERSION-src.tar.bz2 gzip -cd $CWD/webalizer-$VERSION.slackdiff.patch.gz | patch -p0 cd webalizer-$VERSION CFLAGS="-O3 -fomit-frame-pointer -march=i586" \ ./configure --prefix=/usr --enable-dns \ --with-language=$LANGUAGE || exit 1 CFLAGS="-O3 -fomit-frame-pointer -march=i586" \ make || exit 1 } install() { make install mkdir -p /usr/doc/webalizer-$VERSION cp -a $DOCS /usr/doc/webalizer-$VERSION } attributes() { echo "No special attributes..." } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo "No subpacks..." }