DOCS="AUTHORS COPY* NEWS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.4.0.5 PROGNAME="gnome-applets" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gnomapps: gnome-applets-$VERSION\n\ gnomapps:\n\ gnomapps: This package contains applets for use with the GNOME panel.\n\ gnomapps:\n\ gnomapps:\n\ gnomapps:\n\ gnomapps:\n\ gnomapps:\n\ gnomapps:\n\ gnomapps:\n\ gnomapps:" # maintainer ARCH=i586 BUILD=3rob MAINTAINER="Robert Stan " SOURCE=http://www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gnomapps-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH -I/opt/gnome/include" compile() { tar xvyf $CWD/gnome-applets-$VERSION.tar.bz2 ; cd gnome-applets-$VERSION for patch in `ls $CWD/*.patch.bz2` ; do bzip2 -cd $patch | patch -p1 ; done automake 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/gnome-applets-$VERSION cp -a $DOCS /usr/doc/gnome-applets-$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 }