DOCS="COPYRIGHT Changelo* README *.html" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=1.2.11 PROGNAME="GKrellM - GNU (or Gtk) Krell Monitors (or Meters)" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gkrellm: gkrellm-$VERSION\n\ gkrellm:\n\ gkrellm: With a single process, GKrellM manages multiple stacked monitors\n\ gkrellm: and supports applying themes to match the monitors appearance to\n\ gkrellm: your window manager, Gtk, or any other theme.\n\ gkrellm:\n\ gkrellm:\n\ gkrellm:\n\ gkrellm:\n\ gkrellm:\n\ gkrellm:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://gkrellm.net/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome/packages/ # package name PKGNAME="gkrellm-${VERSION}-${ARCH}-${BUILD}" compile() { tar xvyf $CWD/gkrellm-$VERSION.tar.bz2 cd gkrellm-$VERSION export CFLAGS="-O3 -fomit-frame-pointer -march=i586 \ -DSYSTEM_PLUGINS_DIR=\\\"/opt/gnome/lib/gkrellm/plugins\\\"" make || exit 1 } install() { make install INSTALLDIR=/opt/gnome/bin \ INCLUDEDIR=/opt/gnome/include \ LOCALEDIR=/usr/share/locale \ MANDIR=/opt/gnome/man/man1 mkdir -p /opt/gnome/lib/gkrellm/plugins mkdir -p /usr/doc/gkrellm-$VERSION cp -a $DOCS /usr/doc/gkrellm-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }