DOCS="AUTHORS COPY* README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.8.17 PROGNAME="libXML library" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ libxml: libxml-$VERSION\n\ libxml:\n\ libxml: This library allows you to manipulate XML files.\n\ libxml:\n\ libxml:\n\ libxml:\n\ libxml:\n\ libxml:\n\ libxml:\n\ libxml:\n\ libxml:" # maintainer ARCH=i586 BUILD=3rob MAINTAINER="Robert Stan " SOURCE=http://xmlsoft.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="libxml-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/libxml-$VERSION.tar.bz2 ; cd libxml-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --enable-corba || exit 1 CFLAGS=$PKGOPT make || exit 1 } install() { make install mkdir -p /usr/doc/libxml-$VERSION cp -a $DOCS /usr/doc/libxml-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }