mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
51 lines
1.2 KiB
Bash
51 lines
1.2 KiB
Bash
# $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
|
|
|
|
pkgname=ecl
|
|
pkgver=15.3.7
|
|
pkgrel=1
|
|
pkgdesc="Embeddable Common Lisp"
|
|
arch=('i686' 'x86_64')
|
|
url="http://sourceforge.net/projects/ecls/"
|
|
license=('LGPL')
|
|
depends=('bash' 'gmp' 'libffi')
|
|
makedepends=('texinfo')
|
|
provides=('common-lisp' 'cl-asdf')
|
|
options=('!makeflags')
|
|
source=(http://downloads.sourceforge.net/project/ecls/ecls/15.3/ecl-${pkgver}.tgz)
|
|
md5sums=('39f4fb924c88e47ce31e6d57ac2a6de8')
|
|
|
|
prepare() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
sed -i 's|-Wl,--rpath,~A|-Wl,--rpath,/usr/lib/ecl|' src/configure
|
|
}
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
CPPFLAGS+=" -I/usr/lib/libffi-3.0.13/include"
|
|
./configure \
|
|
--build=$CHOST \
|
|
--prefix=/usr \
|
|
--with-tcp \
|
|
--with-clos-streams \
|
|
--enable-shared \
|
|
--enable-boehm=included \
|
|
--with-system-gmp \
|
|
--without-x \
|
|
--enable-threads \
|
|
--without-clx \
|
|
--with-dffi=system
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make -C $srcdir/$pkgname-$pkgver DESTDIR=$pkgdir install
|
|
}
|