DOCS="AUTHORS COPY* README doc/*.gif doc/*.html" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.9.14 PROGNAME="imlib" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ imlib: imlib-$VERSION\n\ imlib:\n\ imlib: Imlib is a display depth-independent image loading and rendering\n\ imlib: library. Imlib is designed to simplify and speed up the process of\n\ imlib: loading images and obtaining X Window System drawables. Imlib\n\ imlib: provides many simple manipulation routines which can be used for\n\ imlib: common operations.\n\ imlib:\n\ imlib:\n\ imlib:\n\ imlib:" # maintainer ARCH=i586 BUILD=4rob MAINTAINER="Robert Stan " SOURCE=ftp://ftp.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/l/ # package name PKGNAME="imlib-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/imlib-$VERSION.tar.bz2 ; cd imlib-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/usr --sysconfdir=/etc || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/imlib-$VERSION cp -a $DOCS /usr/doc/imlib-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }