DOCS="AUTHORS COPYING ChangeLog README doc/*.gif doc/*.html" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var:/storage:/mfs STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.2 PROGNAME="Powerful image loading and rendering library" DESC="Imlib2 is an advanced replacement library for libraries like libXpm\n\ that provides many more features with much greater flexibility and speed\n\ than standard libraries, including font rasterization, rotation, RGBA space\n\ rendering and blending, dynamic binary filters, scripting, and more." # maintainer BUILD=1 MAINTAINER="Robert Stan " SOURCE=http://www.rasterman.com/raster/imlib.html LOCATION=ftp://ftp.linuxmafia.org/pub/Slackware-7/robert/imlib2-1.0.2 # package name PKGNAME=imlib2 compile() { tar xvzf $CWD/$PKGNAME-$VERSION.tar.gz cd $PKGNAME-$VERSION CFLAGS=-O2 ./configure --prefix=/usr CFLAGS=-O2 make -j2 } 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..." }