IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=4.16.0.61 PROGNAME="JOVE $VERSION" DESC="\ jove (Jonathan's Own Version of Emacs) \n\ \n\ A mostly Emacs compatible text editor, with man pages and the \n\ 'teachjove' tutorial program. If you'd rather have the real thing, \n\ the actual Emacs editor/environment is available in series 'E'. \n\ \n\ JOVE was written by Jonathan Payne." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/ PKGNAME=jove-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/jove$VERSION.tar.bz2 cd jove$VERSION/ chown -R root.root . zcat $CWD/jove.makefile.diff.gz | patch -p1 --verbose --backup # We need this to reverse Pat's addition of Intel-specific compilation flags # and to add some -p switches to mkdir commands cat $CWD/makefile.diff | patch -p0 make } install() { mkdir -p /package-jove/usr/bin/ \ /package-jove/usr/man/man1/ make install JOVEHOME=/package-jove/usr mkdir -p /package-jove/usr/doc/jove$VERSION cp -a README /package-jove/usr/doc/jove$VERSION cp -p doc/cmds.doc /package-jove/usr/lib/jove/ ( cd /package-jove/usr rm man/man1/jovetool.1 man/man1/xjove.1 ) ( cd /package-jove/usr/man/man1 rm -f *.gz gzip -9 *.1 ) ( cd /package-jove/usr/bin rm -rf jove-recover ; ln -sf /usr/lib/jove/recover jove-recover ) } attributes() { chown -R root.bin $PKG/package-jove/usr/bin } special() { cd $PKG mv package-jove/* ./ rmdir package-jove cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-jove/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }