IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=2.33.2 PROGNAME="clisp $VERSION" DESC="\ clisp (a Common Lisp implementation) \n\ \n\ Common Lisp is a high-level, general-purpose programming language. \n\ GNU CLISP is a Common Lisp implementation by Bruno Haible of Karlsruhe \n\ University and Michael Stoll of Munich University, both in Germany. \n\ It mostly supports the Lisp described in the ANSI Common Lisp standard.\n\ The user interface comes in German, English, French, Spanish, Dutch \n\ and Russian. GNU CLISP includes an interpreter, a compiler, a \n\ debugger, a large subset of CLOS, a foreign language interface and a \n\ socket interface. An X11 interface is available through CLX and \n\ Garnet." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/clisp/ PKGNAME=clisp-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/libsigsegv-2.1.tar.bz2 cd libsigsegv-2.1 chown -R root.root . ./configure --prefix=/usr --enable-static=yes make make install DESTDIR=$TMP/libsigsegv cd $TMP tar -yxvf $CWD/clisp-$VERSION.tar.bz2 cd clisp-$VERSION/ chown -R root.root . echo echo echo '***** ' remember to watch out for the three checks in ./configure echo '***** ' that loop forever, and kill them. read dummy CFLAGS=-O2 \ ./configure --prefix=/usr \ --with-libsigsegv-prefix=/$TMP/libsigsegv/usr \ with-gcc-wall cd with-gcc-wall ./makemake --with-dynamic-ffi --prefix=/usr > Makefile make } install() { cd $TMP/libsigsegv-2.1/ make install DESTDIR=/package-clisp mkdir -p /package-clisp/usr/doc/clisp-$VERSION/libsigsegv-2.1 cp -a AUTHORS COPYING ChangeLog NEWS PORTING README \ /package-clisp/usr/doc/clisp-$VERSION/libsigsegv-2.1 cd $TMP/clisp-$VERSION/with-gcc-wall/ make install DESTDIR=/package-clisp mv /package-clisp/usr/share/doc/clisp/* /package-clisp/usr/doc/clisp-$VERSION rm -f /package-clisp/usr/doc/clisp-$VERSION/clisp.{dvi,html,ps} rm -r /package-clisp/usr/share/{doc,dvi,html} mv /package-clisp/usr/share/man /package-clisp/usr/man ( cd /package-clisp/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-clisp/usr/bin/ } special() { cd $PKG mv package-clisp/* ./ rmdir package-clisp cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-clisp/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }