DOCS="AUTHORS BUGS COPYING FAQ NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.12 PROGNAME="xalf" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ xalf: xalf-$VERSION\n\ xalf:\n\ xalf: This is a small utility to provide feedback when starting X11\n\ xalf: applications. Feedback can be given via four different indicators:\n\ xalf: An invisible window(to be used in conjunction with a task pager like\n\ xalf: Gnomes tasklist_applet or KDE Taskbar), an generic splashscreen, an\n\ xalf: hourglass attached to the mouse cursor or an animated star.\n\ xalf:\n\ xalf:\n\ xalf:\n\ xalf:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://www.lysator.liu.se/~astrand/projects/xalf/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="xalf-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/xalf-$VERSION.tgz ; cd xalf-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --localstatedir=/var/lib || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/xalf-$VERSION cp -a $DOCS /usr/doc/xalf-$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..." }