aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ecl/APKBUILD
blob: ed3305e768caf7ba2bb35e05a23bbbe0d383381c (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
# Contributor: Lucas Ramage <ramage.lucas@openmailbox.org>
# Maintainer: Lucas Ramage <ramage.lucas@openmailbox.org>
pkgname=ecl
pkgver=16.1.3
pkgrel=2
pkgdesc="Embeddable Common Lisp"
arch=all
url="https://common-lisp.net/project/ecl/"
license="LGPL"
depends=""
makedepends="gmp-dev libffi-dev gc-dev"
source="https://common-lisp.net/project/ecl/static/files/release/${pkgname}-${pkgver}.tgz"
subpackages="$pkgname-doc $pkgname-dev"
workdir="$srcdir/$pkgname-$pkgver"

build() {
  ./configure \
    --build=$CBUILD \
    --host=$CHOST \
    --prefix=/usr \
    --infodir=/usr/share/info \
    --mandir=/usr/share/man \
    --localstatedir=/var/state/ecl \
    --enable-boehm=system \
    --with-cxx
  make -j1
}

package() {
  cd "$workdir"
  make DESTDIR="${pkgdir}" install
}
sha512sums="5d743f422f6bc24671abf4c739cde8273d08f056906a1ef8aed5145c703b6d52c7fa4b5e0be8c125f32240c20ce053007786bb3ae81cc34d47791f6fae0819c1  ecl-16.1.3.tgz"