DOCS="AUTHORS COPY* README doc/index.html doc/fontinfo.README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.5 PROGNAME="fnlib" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ fnlib: fnlib-$VERSION\n\ fnlib:\n\ fnlib: Fnlib is a library that provides full scalable 24-bit color font\n\ fnlib: rendering abilities for X.\n\ fnlib:\n\ fnlib:\n\ fnlib:\n\ fnlib:\n\ fnlib:\n\ fnlib:\n\ fnlib:" # maintainer ARCH=i586 BUILD=2rob MAINTAINER="Robert Stan " SOURCE=http://www.enlightenment.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="fnlib-${VERSION}-${ARCH}-${BUILD}" compile() { tar xvzf $CWD/fnlib-$VERSION.tar.gz cd fnlib-$VERSION CFLAGS="-O3 -fomit-frame-pointer -march=$ARCH" \ ./configure --prefix=/usr/X11R6 --sysconfdir=/etc || exit 1 CFLAGS="-O3 -fomit-frame-pointer -march=$ARCH" \ make || exit 1 } install() { make install mkdir -p /usr/doc/fnlib-$VERSION cp -a $DOCS /usr/doc/fnlib-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }