DOCS="AUTHORS BUGS COPY* NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.4 PROGNAME="gtkhtml" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gtkhtml: gtkhtml-$VERSION\n\ gtkhtml:\n\ gtkhtml: Lightweight HTML rendering/printing/editing engine.\n\ gtkhtml:\n\ gtkhtml:\n\ gtkhtml:\n\ gtkhtml:\n\ gtkhtml:\n\ gtkhtml:\n\ gtkhtml:\n\ gtkhtml:" # 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="gtkhtml-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH -I/opt/gnome/include/gnome-1.0" compile() { tar xvyf $CWD/gtkhtml-$VERSION.tar.bz2 ; cd gtkhtml-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --with-bonobo --with-gconf || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/gtkhtml-$VERSION cp -a $DOCS /usr/doc/gtkhtml-$VERSION rm -rf /opt/gnome/share/control-center/capplets } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }