DOCS="AUTHORS COPYING FAQ NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.6.4 PROGNAME="Gtk+ GUI builder" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gladedev: glade-$VERSION\n\ gladedev:\n\ gladedev: Glade is a GUI builder for Gtk.\n\ gladedev:\n\ gladedev:\n\ gladedev:\n\ gladedev:\n\ gladedev:\n\ gladedev:\n\ gladedev:\n\ gladedev:" # maintainer ARCH=i586 BUILD=2rob MAINTAINER="Robert Stan " SOURCE=http://www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gladedev-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/glade-$VERSION.tar.bz2 ; cd glade-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --localstatedir=/var/lib || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/glade-$VERSION cp -a $DOCS /usr/doc/glade-$VERSION } attributes() { echo "No special attributes..." } special() { mkdir -p $PKG/var/lib/scrollkeeper cat $CWD/doinst.sh >> $CTL/doinst.sh # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo "No subpacks..." }