DOCS="AUTHORS BUGS COPYING READM* TODO examples" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=0.15 PROGNAME="rep-gtk" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ repgtk: rep-gtk-$VERSION\n\ repgtk:\n\ repgtk: This is a binding of GTK+ for the librep Lisp interpreter.\n\ repgtk: librep and rep-gtk are used by the Sawfish window manager.\n\ repgtk:\n\ repgtk:\n\ repgtk:\n\ repgtk:\n\ repgtk:\n\ repgtk:\n\ repgtk:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://rep-gtk.sourceforge.net/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="repgtk-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/rep-gtk-$VERSION.tar.gz ; cd rep-gtk-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --localstatedir=/var/lib \ --with-x --with-libglade $ARCH-slackware-linux || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/rep-gtk-$VERSION cp -a $DOCS /usr/doc/rep-gtk-$VERSION } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo "We don't have subpacks..." } attributes() { echo "No special attributes..." }