DOCS="AUTHORS COPYING NEWS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.4.2 PROGNAME="gnome-python" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gnpython: gnome-python-$VERSION\n\ gnpython:\n\ gnpython: The gnome-python package contains the source packages for the Python\n\ gnpython: bindings for GTK+ and GNOME (PyGTK and PyGNOME, respectively).\n\ gnpython:\n\ gnpython:\n\ gnpython:\n\ gnpython:\n\ gnpython:\n\ gnpython:\n\ gnpython:" # 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="gnpython-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH \ -I/opt/gnome/include -I/opt/gnome/include/libcapplet1" compile() { tar xvyf $CWD/gnome-python-$VERSION.tar.bz2 ; cd gnome-python-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/usr || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/gnome-python-$VERSION cp -a $DOCS /usr/doc/gnome-python-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }