IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=3.3 PROGNAME="regina $VERSION" DESC="\ regina (Rexx Language interpreter) \n\ \n\ Regina is an implementation of the the ANSI Standard REXX Programming \n\ Language, that has been ported to most Unix platforms as well as many \n\ others. Rexx is a programming language that was designed to be easy \n\ to use for inexperienced programmers yet powerful enough for \n\ experienced users. It is also a language ideally suited as a macro \n\ language for other applications." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://prdownloads.sourceforge.net/regina-rexx/Regina-REXX-3.3.tar.gz?download PKGNAME=regina-$VERSION-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/Regina-REXX-$VERSION.tar.gz cd Regina-$VERSION/ ./configure --prefix=/usr make } install() { make install prefix=/package-regina/usr ( cd /package-regina/ mv usr/etc . cd etc/rc.d mv init.d/* . rmdir init.d cat $CWD/rxstack.functions.diff | patch -p0 # Don't run this by default. Make the sysadmin turn it on. chmod 744 rxstack ) mkdir -p /package-regina/usr/doc/regina-$VERSION cp -a BUGS COPYING-LIB INSTALL README.33 README.Unix TODO \ /package-regina/usr/doc/regina-$VERSION # The installer is a little too smart for its own good ( cd /package-regina/usr/share/regina for file in *.rexx; do perl -p -i -e 's/package-regina\///' $file done ) ( cd /package-regina/usr/man/man1 rm -f *.gz gzip -9 *.1 ) # I don't think we'll need these, but we'll see. ( cd /package-regina/usr/lib rm -f libregina.a \ libtest?.so ) } attributes() { chown -R root.bin $PKG/package-regina/usr/bin } special() { cd $PKG mv package-regina/* ./ rmdir package-regina cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-regina/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }