aboutsummaryrefslogblamecommitdiffstats
path: root/community/ecl/APKBUILD
blob: 9d19d74f5141eeea7939a32a7d8ef6f1864fa542 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                          
        


                                          
                           















                                                                                          
          






                                                                                                                                                             
# Contributor: Lucas Ramage <ramage.lucas@openmailbox.org>
# Maintainer: Lucas Ramage <ramage.lucas@openmailbox.org>
pkgname=ecl
pkgver=16.1.3
pkgrel=3
pkgdesc="Embeddable Common Lisp"
arch=all
url="https://common-lisp.net/project/ecl/"
license="LGPL-2.1-or-later"
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"