DOCS="AUTHORS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.4 PROGNAME="Additional image loaders for Imlib2" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ imlib2_loaders: imlib2_loaders-$VERSION\n\ imlib2_loaders:\n\ imlib2_loaders: This package contains additional image loaders for Imlib2,\n\ imlib2_loaders: which for some reason are not distributed with Imlib2 directly.\n\ imlib2_loaders:\n\ imlib2_loaders:\n\ imlib2_loaders:\n\ imlib2_loaders:\n\ imlib2_loaders:\n\ imlib2_loaders:\n\ imlib2_loaders:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://www.enlightenment.org/pages/imlib2.html LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/l/ # package name PKGNAME="imlib2_loaders-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/imlib2_loaders-$VERSION.tar.gz ; cd imlib2_loaders-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/usr/X11R6 || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/imlib2_loaders-$VERSION cp -a $DOCS /usr/doc/imlib2_loaders-$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..." }