DOCS="AUTHORS COPY* NEWS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.36 PROGNAME="gnome-print" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gnoprint: gnome-print-$VERSION\n\ gnoprint:\n\ gnoprint: The gnome-print package contains libraries and fonts that are needed\n\ gnoprint: by GNOME applications wanting to print. You should install the\n\ gnoprint: gnome-print package if you intend on using any of the GNOME\n\ gnoprint: applications that can print. Requires gtk+-1.2.10,\n\ gnoprint: gnome-libs-1.4.1.7, libxml-1.8.17, gdk-pixbuf-0.17.0.\n\ gnoprint:\n\ gnoprint:\n\ gnoprint:\n\ gnoprint:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gnoprint-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH -I/opt/gnome/include" compile() { tar xvyf $CWD/gnome-print-$VERSION.tar.bz2 ; cd gnome-print-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt --localstatedir=/var/lib || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/gnome-print-$VERSION cp -a $DOCS /usr/doc/gnome-print-$VERSION } attributes() { echo } special() { cat << EOF >> $CTL/doinst.sh gnome-font-install --smart EOF # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }