# $Id: PKGBUILD 150709 2012-02-20 22:31:08Z juergen $ # Contributor: John Proctor # Maintainer: juergen pkgname=ecl pkgver=12.2.1 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/project/ecls/ecls/12.2/ecl-12.2.1.tgz) md5sums=('1a54b733e7cd07af2b1cb6d7f8b716d2') build() { cd $srcdir/$pkgname-$pkgver sed -i 's|-Wl,--rpath,~A|-Wl,--rpath,/usr/lib/ecl|' src/configure ./configure --build=$CHOST \ --prefix=/usr \ --with-tcp \ --with-clos-streams \ --enable-shared \ --enable-boehm=included \ --with-system-gmp \ --without-x \ --without-clx \ --disable-threads make } package() { make -C $srcdir/$pkgname-$pkgver DESTDIR=$pkgdir install }