IGNOREPATH=/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/tmp:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.9.1 PROGNAME="wget $VERSION" DESC="\ wget (a non-interactive network retriever) \n\ \n\ GNU Wget is a free network utility to retrieve files from the \n\ World Wide Web using HTTP and FTP, the two most widely used Internet \n\ protocols. It works non-interactively, thus enabling work in the \n\ background after having logged off. \n\ \n\ The author of Wget is Hrvoje Niksic ." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/gnu/wget/ PKGNAME=wget-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/wget-$VERSION.tar.bz2 cd wget-$VERSION/ chown -R root.root . CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install prefix=/package-wget/usr sysconfdir=/package-wget/etc mkdir -p /package-wget/usr/doc/wget-$VERSION cp -a AUTHORS COPYING MAILING-LIST NEWS PATCHES README README.cvs TODO \ /package-wget/usr/doc/wget-$VERSION ( cd /package-wget/usr/info rm -f *.gz gzip -9 * ) ( cd /package-wget/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-wget/usr/bin/ } special () { cd $PKG mv package-wget/* ./ rmdir package-wget cd $CTL cat $CWD/slack-desc > slack-desc }