DOCS="AUTHORS COPYING NEWS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.4.0.4 PROGNAME="The GNOME control center." # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ control: control-center-$VERSION\n\ control:\n\ control: Control Center is a configuration tool for easily setting up\n\ control: your GNOME environment.\n\ control:\n\ control:\n\ control:\n\ control:\n\ control:\n\ control:\n\ control:" # maintainer ARCH=i586 BUILD=4rob MAINTAINER="Robert Stan " SOURCE=http://www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="control-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/control-center-$VERSION.tar.bz2 ; cd control-center-$VERSION export PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig:/usr/lib/pkgconfig 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/control-center-$VERSION cp -a $DOCS /usr/doc/control-center-$VERSION } attributes() { echo } 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 }