DOCS="AUTHORS COPYING NEWS README THANKS" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.4.1.2 PROGNAME="gnome-utils" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gnoutils: gnome-utils-$VERSION\n\ gnoutils:\n\ gnoutils: This package will install some GNOME utilities, such as the\n\ gnoutils: calculator, search tool, and system information overview tool.\n\ gnoutils:\n\ gnoutils:\n\ gnoutils:\n\ gnoutils:\n\ gnoutils:\n\ gnoutils:\n\ gnoutils:" # 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="gnoutils-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH \ -I/opt/gnome/include/libglade-1.0 \ -I/opt/gnome/include/gnome-1.0 \ -I/opt/gnome/include/gconf/1 \ -I/opt/gnome/include/gdk-pixbuf-1.0" compile() { tar xvyf $CWD/gnome-utils-$VERSION.tar.bz2 ; cd gnome-utils-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --with-ncurses=/usr \ --enable-guname-capplet --localstatedir=/var/lib \ --disable-maintainer-mode || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/gnome-utils-$VERSION cp -a $DOCS /usr/doc/gnome-utils-$VERSION } attributes() { echo } 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 }