2014-01-03 17:44:11 +00:00
|
|
|
# $Id$
|
|
|
|
# Contributor: John Proctor <jproctor@prium.net>
|
|
|
|
# Maintainer: juergen <juergen@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - use system libffi (included version is old and breaks on v5)
|
|
|
|
# - specify libffi include path in CPPFLAGS
|
2015-07-18 20:50:24 +00:00
|
|
|
# - use gc with AArch64
|
2014-01-03 17:44:11 +00:00
|
|
|
|
|
|
|
pkgname=ecl
|
2015-06-12 00:41:18 +00:00
|
|
|
pkgver=15.3.7
|
|
|
|
pkgrel=1
|
2014-01-03 17:44:11 +00:00
|
|
|
pkgdesc="Embeddable Common Lisp"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://sourceforge.net/projects/ecls/"
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('bash' 'gmp' 'libffi')
|
2015-07-18 20:50:24 +00:00
|
|
|
depends_aarch64=('gc')
|
2014-01-03 17:44:11 +00:00
|
|
|
makedepends=('texinfo')
|
|
|
|
provides=('common-lisp' 'cl-asdf')
|
|
|
|
options=('!makeflags')
|
2015-06-12 00:41:18 +00:00
|
|
|
source=(http://downloads.sourceforge.net/project/ecls/ecls/15.3/ecl-${pkgver}.tgz)
|
|
|
|
md5sums=('39f4fb924c88e47ce31e6d57ac2a6de8')
|
2014-01-03 17:44:11 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
|
|
|
sed -i 's|-Wl,--rpath,~A|-Wl,--rpath,/usr/lib/ecl|' src/configure
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
2015-07-18 20:50:24 +00:00
|
|
|
[[ $CARCH != "aarch64" && CONFIG="--enable-boehm=included"
|
|
|
|
|
2015-06-12 01:00:54 +00:00
|
|
|
CPPFLAGS+=" -I/usr/lib/libffi-3.2.1/include"
|
2014-01-03 17:44:11 +00:00
|
|
|
./configure \
|
|
|
|
--build=$CHOST \
|
|
|
|
--prefix=/usr \
|
|
|
|
--with-tcp \
|
|
|
|
--with-clos-streams \
|
|
|
|
--enable-shared \
|
|
|
|
--with-system-gmp \
|
|
|
|
--without-x \
|
|
|
|
--enable-threads \
|
|
|
|
--without-clx \
|
2015-07-18 20:50:24 +00:00
|
|
|
--with-dffi=system $CONFIG
|
2014-01-03 17:44:11 +00:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make -C $srcdir/$pkgname-$pkgver DESTDIR=$pkgdir install
|
|
|
|
}
|