summaryrefslogtreecommitdiff
path: root/extra/ecl/PKGBUILD
blob: 273331df948a5cdd0ccc4dfe85fdfb0d0e0a435e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 127540 2011-06-16 08:47:04Z juergen $
# Contributor: John Proctor <jproctor@prium.net>
# Maintainer: juergen <juergen@archlinux.org>

pkgname=ecl
pkgver=11.1.1
pkgrel=1
pkgdesc="Embeddable Common Lisp"
arch=('i686' 'x86_64' 'mips64el')
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/11.1/ecl-11.1.1.tar.gz)
md5sums=('6963cfa00e1c6d4a2123fd62100b02e6')

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
}