# $Id: PKGBUILD 51363 2009-09-07 20:01:45Z juergen $ # Contributor: John Proctor # Maintainer: juergen pkgname=ecl pkgver=9.8.4 pkgrel=1 pkgdesc="Embeddable Common Lisp" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/ecls/" license=('LGPL') depends=('bash' 'gmp') makedepends=('texinfo') provides=('common-lisp' 'cl-asdf') options=('!makeflags') source=(http://downloads.sourceforge.net/sourceforge/${pkgname}s/${pkgname}-${pkgver}.tgz) md5sums=('4392da2e78328cdbfd42a8ccf5370318') build() { cd $srcdir/$pkgname-$pkgver sed -i 's|-Wl,--rpath,~A|-Wl,--rpath,/usr/lib/ecl|' src/configure || return 1 ./configure --build=$CHOST \ --prefix=/usr \ --with-tcp \ --with-clos-streams \ --enable-shared \ --enable-boehm=local \ --with-system-gmp \ --without-x \ --without-clx \ --disable-threads make || return 1 make DESTDIR=$pkgdir install || return 1 }