IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/tmp STRIPLIB=y STRIPBIN=y VERSION=3.6 PROGNAME="trn $VERSION" VERSION=3.6 DESC="\ trn (a threaded newsreader) \n\ \n\ A threaded news reader for reading a remote NNTP server. Compiled to \n\ use Overviews or mthreads, and to read news through your NNTP server. \n\ Be sure to set NNTPSERVER in your /etc/profile or /etc/csh.login." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.clari.net/private/trn PKGNAME=trn-$VERSION-s390-$BUILD TAG=OPT compile() { tar -xvzf $CWD/trn-$VERSION.tar.gz cd trn-$VERSION/ zcat $CWD/config.sh.gz > config.sh # Here, just take the defaults. If you get a "whoa there!", use # the newly detected value, not the old one. ./Configure -d config.sh make clean make } install() { mkdir -p /package-trn/usr/bin \ /package-trn/usr/man/man1 cp -a Pnews Rnmail newsetup newsgroups nntplist trn trn-artchk \ /package-trn/usr/bin cp -a *.1 /package-trn/usr/man/man1 gzip -9 /package-trn/usr/man/man1/* ( cd /package-trn/usr/bin ; rm -rf rn ) ( cd /package-trn/usr/bin ; ln -sf trn rn ) ( cd /package-trn ; tar -xvzf $CWD/_trn.tar.gz etc/ usr/lib/trn/ ) } attributes() { chown -R root.bin $PKG/package-trn/usr/bin } special() { set -x cd $PKG mv -v package-trn/* ./ rmdir package-trn set +x cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-trn/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }