IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=3.1 PROGNAME="the $VERSION" DESC="\ THE (The Hessling Editor) \n\ \n\ The Hessling Editor (THE) is a cross-platform text editor. It is \n\ based on the IBM mainframe editor XEDIT, and includes many features of \n\ Kedit. All of THE is configurable, including syntax highlighting. \n\ THE uses Rexx as its macro language, which means that if you install \n\ this package, you must also install the regina package in /extra." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://prdownloads.sourceforge.net/hessling-editor/THE-3.1.tar.gz?download PKGNAME=the-$VERSION-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/THE-$VERSION.tar.gz cd THE-$VERSION/ ./configure --prefix=/usr \ --with-rexx=regina make } install() { make install prefix=/package-the/usr mkdir -p /package-the/usr/doc/the-$VERSION cp -a COPYING FAQ INSTALL README TODO \ /package-the/usr/doc/the-$VERSION ( cd /package-the/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-the/usr/bin } special() { cd $PKG mv package-the/* ./ rmdir package-the cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-the/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }