DOCS="COPY* TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=1.0.2 PROGNAME="ggv" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ ggv: ggv-$VERSION\n\ ggv:\n\ ggv: ggv allows you to view PostScript documents, and print ranges\n\ ggv: of pages.\n\ ggv:\n\ ggv:\n\ ggv:\n\ ggv:\n\ ggv:\n\ ggv:\n\ ggv:" # 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="ggv-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH -I/opt/gnome/include/gnome-1.0 \ -I/opt/gnome/include/gdk-pixbuf-1.0" compile() { tar xvzf $CWD/ggv-$VERSION.tar.gz ; cd ggv-$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/ggv-$VERSION cp -a $DOCS /usr/doc/ggv-$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..." }