DOCS="ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README RELNOTES-1*" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var:/storage STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.10 PROGNAME="LibGTop library" DESC="A library that fetches information about the running system such as\n\ cpu and memory usage, active processes etc." # maintainer BUILD=1 MAINTAINER="Robert Stan " SOURCE=http://www.home-of-linux.org/gnome/libgtop/ LOCATION=ftp://ftp.linuxmafia.org/pub/Slackware-7/robert/libgtop-1.0.10 # package name PKGNAME=libgtop compile() { tar xvzf $CWD/$PKGNAME-$VERSION.tar.gz cd $PKGNAME-$VERSION CFLAGS=-O2 ./configure --prefix=/usr \ --with-catgets --with-gnome=/usr 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..." }