DOCS="AUTHORS COPYING COPYING.LIB NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.20 PROGNAME="bonobo" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ bonobo: bonobo-$VERSION\n\ bonobo:\n\ bonobo: Bonobo is a library that provides the necessary framework for GNOME\n\ bonobo: applications to deal with compound documents, i.e. those with a\n\ bonobo: spreadsheet and graphic embedded in a word-processing document.\n\ bonobo:\n\ bonobo:\n\ bonobo:\n\ bonobo:\n\ bonobo:\n\ bonobo:" # 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="bonobo-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH -I/opt/gnome/include/gnome-1.0" compile() { tar xvyf $CWD/bonobo-$VERSION.tar.bz2 ; cd bonobo-$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-$VERSION cp -a $DOCS /usr/doc/bonobo-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }