DOCS="AUTHORS COPYING COPYING-DOCS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=1.2.1 PROGNAME="GHex" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ ghex: ghex-$VERSION\n\ ghex:\n\ ghex: GHex allows the user to load data from any file, view and\n\ ghex: edit it in either hex or ascii. A must for anyone playing\n\ ghex: games that use non-ascii format for saving.\n\ ghex:\n\ ghex:\n\ ghex:\n\ ghex:\n\ ghex:\n\ ghex:" # 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="ghex-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/ghex-$VERSION.tar.gz ; cd ghex-$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/ghex-$VERSION cp -a $DOCS /usr/doc/ghex-$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..." }