DOCS="AUTHORS BEVERAGES BUGS COPYING HACKING MAINTAINERS NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.7 PROGNAME="the GNOME spreadsheet" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gnumeric: gnumeric-$VERSION\n\ gnumeric:\n\ gnumeric: This is the Gnumeric, a spreadsheet for GNOME. It aims to be\n\ gnumeric: a drop in replacement for commercial spreadsheets. It provides\n\ gnumeric: import/export from MS Excel files and many other formats\n\ gnumeric: (csv, latex, xbase, applix).\n\ gnumeric:\n\ gnumeric:\n\ gnumeric:\n\ gnumeric:\n\ gnumeric:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://www.gnome.org/gnumeric/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gnumeric-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/gnumeric-$VERSION.tar.bz2 ; cd gnumeric-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --localstatedir=/var/lib \ --with-python \ --with-bonobo \ --with-evolution || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/gnumeric-$VERSION cp -a $DOCS /usr/doc/gnumeric-$VERSION } attributes() { echo "No special attributes..." } 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 "No subpacks..." }