DOCS="AUTHORS COPY* ChangeLog README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var:/storage STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.8.11 PROGNAME="libXML library" DESC="This library allows you to manipulate XML files." # maintainer BUILD=1 MAINTAINER="Robert Stan " SOURCE=http://xmlsoft.org/ LOCATION=ftp://ftp.linuxmafia.org/pub/Slackware-7/robert/libxml-1.8.11 # package name PKGNAME=libxml compile() { tar xvzf $CWD/$PKGNAME-$VERSION.tar.gz cd $PKGNAME-$VERSION CFLAGS=-O2 ./configure --prefix=/usr --enable-corba CFLAGS=-O2 make } install() { make install mkdir -p /usr/doc/$PKGNAME-$VERSION cp -a $DOCS /usr/doc/$PKGNAME-$VERSION } attributes() { echo "No special attributes..." } special() { echo "Nothing special... easy job :-)" } subpacks() { echo "No subpacks..." }