DOCS="AUTHORS NEWS README Copyright TODO FEATURES" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.18 PROGNAME="Library providing the Gnome XSLT engine" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ libxslt: libxslt-$VERSION\n\ libxslt:\n\ libxslt: This C library allows to transform XML files into other XML files\n\ libxslt: (or HTML, text...) using the standard XSLT stylesheet transformation\n\ libxslt: mechanism. To use it you need to have a recent libxml2 package.\n\ libxslt: The xsltproc command is a command line interface to the XSLT engine.\n\ libxslt:\n\ libxslt:\n\ libxslt:\n\ libxslt:\n\ libxslt:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://xmlsoft.org/XSLT/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/l/ # package name PKGNAME="libxslt-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/libxslt-$VERSION.tar.bz2 ; cd libxslt-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/usr --sysconfdir=/etc \ --with-debug=no --with-debugger=no || exit 1 CFLAGS=$PKGOPT make || exit 1 } install() { make install mkdir -p /usr/doc/libxslt-$VERSION cp -a $DOCS /usr/doc/libxslt-$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..." }