DOCS="AUTHORS COPYING NEWS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.4.1 PROGNAME="gnome-spell" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gnome-spell: gnome-spell-$VERSION\n\ gnome-spell:\n\ gnome-spell: GNOME/Bonobo spelling component\n\ gnome-spell:\n\ gnome-spell:\n\ gnome-spell:\n\ gnome-spell:\n\ gnome-spell:\n\ gnome-spell:\n\ gnome-spell:\n\ gnome-spell:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gnome-spell-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/gnome-spell-$VERSION.tar.gz ; cd gnome-spell-$VERSION 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/gnome-spell-$VERSION cp -a $DOCS /usr/doc/gnome-spell-$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..." }