DOCS="AUTHORS BUG-REPORTING COPYING NEWS TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.13 PROGNAME="GNOME System Monitor" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gnometop: gtop-$VERSION\n\ gnometop:\n\ gnometop: gtop is a graphical version of a text program called top.\n\ gnometop: It displays information about all the programs running on\n\ gnometop: your computer.\n\ gnometop:\n\ gnometop:\n\ gnometop:\n\ gnometop:\n\ gnometop:\n\ gnometop:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http:/www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gnometop-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/gtop-$VERSION.tar.gz ; cd gtop-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/gtop-$VERSION cp -a $DOCS /usr/doc/gtop-$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..." }