DOCS="AUTHORS COPYING NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.2.4 PROGNAME="Structured Storage OLE2 library" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ libole2: libole2-$VERSION\n\ libole2:\n\ libole2: A library containing functionality to manipulate OLE2\n\ libole2: Structured Storage files. It is used by Gnumeric from Gnome,\n\ libole2: AbiWord from AbiSuite and by other programs.\n\ libole2:\n\ libole2:\n\ libole2:\n\ libole2:\n\ libole2:\n\ libole2:" # 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="libole2-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/libole2-$VERSION.tar.bz2 ; cd libole2-$VERSION 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/libole2-$VERSION cp -a $DOCS /usr/doc/libole2-$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..." }