DOCS="readme.txt" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var:/storage STRIPLIB=y STRIPBIN=y SETATTR=y ARCH=i386 BUILD=1 BUILDDATE=2001-02-28 # pkginfo VERSION=1.8.4 PROGNAME="gd 1.8.4" DESC="A graphics library for fast image creation" # maintainer MAINTAINER="Robert Stan " SOURCE=http://www.boutell.com/gd/ # package name PKGNAME=gd compile() { tar xvzf $CWD/$PKGNAME-$VERSION.tar.gz cd $PKGNAME-$VERSION cp -a $CWD/Makefile . make } install() { make install mkdir -p /usr/doc/$PKGNAME-$VERSION cp -a $DOCS /usr/doc/$PKGNAME-$VERSION }