DOCS="AUTHORS COPYING COPYING-DOCS INSTALL README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.2 PROGNAME="scrollkeeper" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ scrollkp: scrollkeeper-$VERSION\n\ scrollkp:\n\ scrollkp: ScrollKeeper is a cataloging system for documentation. It manages\n\ scrollkp: documentation metadata (as specified by the Open Source Metadata\n\ scrollkp: Framework (OMF)) and provides a simple API to allow help browsers to\n\ scrollkp: find, sort, and search the document catalog. It will also be able to\n\ scrollkp: communicate with catalog servers on the Net to search for documents\n\ scrollkp: which are not on the local system.\n\ scrollkp:\n\ scrollkp:\n\ scrollkp:" # maintainer ARCH=i586 BUILD=3rob MAINTAINER="Robert Stan " SOURCE=http:/www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="scrollkp-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/scrollkeeper-$VERSION.tar.gz ; cd scrollkeeper-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --localstatedir=/var || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { ( cd /var/lib/scrollkeeper && rm -r * ) mkdir -p /usr/doc/scrollkeeper-$VERSION make scrollkeeperdocdir=/usr/doc/scrollkeeper-$VERSION install cp -a $DOCS /usr/doc/scrollkeeper-$VERSION } attributes() { echo } special() { cat $CWD/setup.0scrollkeeper > $PKG/var/log/setup/setup.0scrollkeeper chmod 755 $PKG/var/log/setup/setup.0scrollkeeper 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 }