IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=4.6.16 PROGNAME="whois $VERSION" DESC="\ whois (whois directory client) \n\ \n\ This is an enhanced whois (RFC 954) client derived from the BSD and \n\ RIPE whois programs. It can automatically select the appropriate \n\ whois server for most queries. \n\ \n\ This version of whois was written by Marco d'Itri \n\ For more information, see: http://www.linux.it/~md/software/" BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/whois PKGNAME=whois-$VERSION-s390-$BUILD TAG=REC compile() { tar -zxvf $CWD/whois_$VERSION.tar.gz cd whois-$VERSION/ chown -R root.root . make } install() { mkdir -p /package-whois/usr/bin/ \ /package-whois/usr/man/man1/ \ /package-whois/usr/share/man/man1/ make install BASEDIR=/package-whois prefix=/usr mkdir -p /package-whois/usr/doc/whois-$VERSION cp -a COPYING README /package-whois/usr/doc/whois-$VERSION mv /package-whois/usr/share/man/man1/* /package-whois/usr/man/man1/ rm -rf /package-whois/usr/share/man ( cd /package-whois/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-whois/usr/bin } special() { cd $PKG mv package-whois/* ./ rmdir package-whois cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-whois/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }