DOCS="AUTHORS COPY* NEWS README test-libglade.c *.glade" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.17 PROGNAME="libglade" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ libglade: libglade-$VERSION\n\ libglade:\n\ libglade: This library allows you to load user interfaces in your\n\ libglade: program, which are stored externally. This allows alteration\n\ libglade: of the interface without recompilation of the program.\n\ libglade:\n\ libglade:\n\ libglade:\n\ libglade:\n\ libglade:\n\ libglade:" # maintainer ARCH=i586 BUILD=3rob MAINTAINER="Robert Stan " SOURCE=http://www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="libglade-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/libglade-$VERSION.tar.gz ; cd libglade-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --localstatedir=/var/lib --enable-bonobo \ --disable-gnomedb || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/libglade-$VERSION cp -a $DOCS /usr/doc/libglade-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }