DOCS="AUTHORS COPYING NEWS README RELNOTES-1.* copyright.txt" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.13 PROGNAME="libgtop" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ libgtop: libgtop-$VERSION\n\ libgtop:\n\ libgtop: A library that fetches information about the running system such as\n\ libgtop: cpu and memory usage, active processes etc.\n\ libgtop:\n\ libgtop:\n\ libgtop:\n\ libgtop:\n\ libgtop:\n\ libgtop:\n\ libgtop:" # maintainer ARCH=i586 BUILD=3rob MAINTAINER="Robert Stan " SOURCE=ftp://ftp.gnome.org/pub/GNOME/libgtop/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="libgtop-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/libgtop-$VERSION.tar.bz2 for patch in `ls $CWD/*.patch.bz2` ; do bzip2 -cd $patch | patch -p0 ; done cd libgtop-$VERSION libtoolize --copy --force aclocal -I macros -I . ; autoconf CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/libgtop-$VERSION cp -a $DOCS /usr/doc/libgtop-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }