DOCS="AUTHORS COPY* NEWS" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.3 PROGNAME="librsvg" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ librsvg: librsvg-$VERSION\n\ librsvg:\n\ librsvg: Eazel Extension Library - required by Nautilus.\n\ librsvg:\n\ librsvg:\n\ librsvg:\n\ librsvg:\n\ librsvg:\n\ librsvg:\n\ librsvg:\n\ librsvg:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://ftp.gnome.org/pub/GNOME/stable/sources/librsvg/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="librsvg-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH -I/opt/gnome/include" compile() { tar xvyf $CWD/librsvg-$VERSION.tar.bz2 ; cd librsvg-$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/librsvg-$VERSION cp -a $DOCS /usr/doc/librsvg-$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..." }