DOCS="AUTHORS COPYING README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.12.0 PROGNAME="pkgconfig" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ pkgconfig: pkgconfig-$VERSION\n\ pkgconfig:\n\ pkgconfig: pkgconfig is a system for managing library compile/link\n\ pkgconfig: flags that works with automake and autoconf.\n\ pkgconfig:\n\ pkgconfig:\n\ pkgconfig:\n\ pkgconfig:\n\ pkgconfig:\n\ pkgconfig:\n\ pkgconfig:" # maintainer ARCH=i586 BUILD=3rob MAINTAINER="Robert Stan " SOURCE=http://www.freedesktop.org/software/pkgconfig/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="pkgconfig-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/pkgconfig-$VERSION.tar.gz cd pkgconfig-$VERSION 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/pkgconfig-$VERSION cp -a $DOCS /usr/doc/pkgconfig-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }