# $Id$ # Contributor: Johannes Weiner pkgname=clisp pkgver=2.41 pkgrel=1 pkgdesc="ANSI Common Lisp interpreter, compiler and debugger" url="http://clisp.cons.org/" depends=('readline' 'gettext') makedepends=('libsigsegv') source=("http://dl.sourceforge.net/sourceforge/clisp/clisp-$pkgver.tar.bz2") md5sums=('3a7a00e82ebeeb72a75a032f84c36c6c') build() { cd $startdir/src/clisp-$pkgver local myflags="--prefix=/usr --elispdir=/usr/share/emacs/site-lisp/clisp --with-dynamic-ffi --with-module=wildcard --with-module=rawsock --hyperspec=http://www.lispworks.com/documentation/HyperSpec/" # configure calls make and the buildsystem hates # parallelism, so reduce any -j to -j1. MAKEFLAGS="$(echo $MAKEFLAGS | sed -r 's:-j[0-9]+:-j1:')" \ ./configure $myflags build || return 1 cd build ./makemake $myflags > Makefile || return 1 make -j1 config.lisp || return 1 make -j1 || return 1 make DESTDIR=$startdir/pkg install chmod +x $startdir/pkg/usr/lib/clisp/clisp-link }