DOCS="AUTHORS COPY* NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.17.0 PROGNAME="The GdkPixBuf image handling library" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gdkpixbf: gdk-pixbuf-$VERSION\n\ gdkpixbf:\n\ gdkpixbf: The GdkPixBuf library provides a number of features, including :\n\ gdkpixbf:\n\ gdkpixbf: o GdkPixbuf structure for representing images.\n\ gdkpixbf: o Image loading facilities.\n\ gdkpixbf: o Rendering of a GdkPixBuf into various formats:\n\ gdkpixbf: drawables (windows, pixmaps), GdkRGB buffers.\n\ gdkpixbf: o Fast scaling and compositing of pixbufs.\n\ gdkpixbf: o Simple animation loading (ie. animated gifs).\n\ gdkpixbf:" # 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="gdkpixbf-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/gdk-pixbuf-$VERSION.tar.bz2 ; cd gdk-pixbuf-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome || exit 1 CFLAGS=$PKGOPT make || exit 1 } install() { make install mkdir -p /usr/doc/gdk-pixbuf-$VERSION cp -a $DOCS /usr/doc/gdk-pixbuf-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }