DOCS="AUTHORS COPY* HACKING NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0 PROGNAME="procman" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ procman: procman-$VERSION\n\ procman:\n\ procman: Procman is a simple process and system monitor.\n\ procman:\n\ procman:\n\ procman:\n\ procman:\n\ procman:\n\ procman:\n\ procman:\n\ procman:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://www.personal.psu.edu/users/k/f/kfv101/procman/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="procman-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/procman-$VERSION.tar.bz2 ; cd procman-$VERSION CFLAGS=$PKGOPT ./configure --sysconfdir=/etc/opt/gnome \ --prefix=/opt/gnome --localstatedir=/var/lib || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/procman-$VERSION cp -a $DOCS /usr/doc/procman-$VERSION } attributes() { echo "No special attributes..." } special() { mkdir -p $PKG/var/lib/scrollkeeper cat $CWD/doinst.sh >> $CTL/doinst.sh # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo "No subpacks..." }