DOCS="AUTHORS BUGS COPYING NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var:/storage STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.4.11 PROGNAME="GNOME Transfer Manager" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gtm: gtm-$VERSION\n\ gtm:\n\ gtm: GTM allows the user to retrieve multiple files from the web.\n\ gtm: These files can be retrieved in multiple parts and each part\n\ gtm: retrieved on a separate session that the user is connected to\n\ gtm: the Internet. This is most useful to users with dialup connections.\n\ gtm: The program performs these tasks using wget as its back-end.\n\ gtm:\n\ gtm:\n\ gtm:\n\ gtm:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://gtm.sourceforge.net/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gtm-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/gtm-$VERSION.tar.gz ; cd gtm-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/gtm-$VERSION cp -a $DOCS /usr/doc/gtm-$VERSION } attributes() { echo "No special attributes..." } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo "No subpacks..." }