DOCS="AUTHORS COPYING NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.15 PROGNAME="bonobo-conf" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ bonobocf: bonobo-conf-$VERSION\n\ bonobocf:\n\ bonobocf: bonobo configure library required by evolution.\n\ bonobocf:\n\ bonobocf:\n\ bonobocf:\n\ bonobocf:\n\ bonobocf:\n\ bonobocf:\n\ bonobocf:\n\ bonobocf:" # 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="bonobocf-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH -I/opt/gnome/include/gnome-1.0" compile() { tar xvyf $CWD/bonobo-conf-$VERSION.tar.bz2 ; cd bonobo-conf-$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/bonobo-conf-$VERSION cp -a $DOCS /usr/doc/bonobo-conf-$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..." }