IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=4.9.5 PROGNAME="most $VERSION" DESC="\ most (another pager, like 'more' and 'less') \n\ \n\ most is a paging program that displays, one windowful at a time, the \n\ contents of a file on a terminal. Unlike other well-known paging \n\ programs, most supports multiple windows and can scroll left and \n\ right. Why settle for less? \n\ \n\ 'most' was written by John E. Davis." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://space.mit.edu/pub/davis/most/ PKGNAME=most-$VERSION-s390-$BUILD TAG=REC compile() { tar -yxvf $CWD/most-$VERSION.tar.bz2 cd most-$VERSION/ chown -R root.root . CFLAGS=-O2 \ ./configure --prefix=/usr make } install() { make install DESTDIR=/package-most mv /package-most/usr/doc/most /package-most/usr/doc/most-$VERSION # mkdir -p /package-most/usr/doc/most-$VERSION # cp -a AUTHORS BUGS COPYING INSTALL* NEWS README THANKS TODO \ # /package-most/usr/doc/most-$VERSION ( cd /package-most/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-most/usr/bin } special() { cd $PKG mv package-most/* ./ rmdir package-most cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-most/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }