DOCS="README README.debugging" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=4.05 PROGNAME="X screen saver and locker" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ xscrsave: xscreensaver-$VERSION\n\ xscrsave:\n\ xscrsave: A modular screen saver and locker for the X Window System.\n\ xscrsave: Highly customizable: allows the use of any program that\n\ xscrsave: can draw on the root window as a display mode.\n\ xscrsave: More than 140 display modes are included in this package.\n\ xscrsave:\n\ xscrsave:\n\ xscrsave:\n\ xscrsave:\n\ xscrsave:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://www.jwz.org/xscreensaver/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/xap/ # package name PKGNAME="xscrsave-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/xscreensaver-$VERSION.tar.gz ; cd xscreensaver-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --with-gtk --with-shadow --with-gl || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/xscreensaver-$VERSION cp -a $DOCS /usr/doc/xscreensaver-$VERSION rm -rf /opt/gnome/share/control-center/capplets } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }