DOCS="AUTHORS COPY* NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.6.10 PROGNAME="Object activation framework for GNOME" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ oaf: oaf-$VERSION\n\ oaf:\n\ oaf: OAF is an object activation framework for GNOME. It uses ORBit.\n\ oaf:\n\ oaf:\n\ oaf:\n\ oaf:\n\ oaf:\n\ oaf:\n\ oaf:\n\ oaf:" # 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="oaf-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/oaf-$VERSION.tar.bz2 ; cd oaf-$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/oaf-$VERSION cp -a $DOCS /usr/doc/oaf-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }