aboutsummaryrefslogtreecommitdiffstats
path: root/community/ecl/APKBUILD
blob: 8637f2e5e973b66e0eed2ecd896898ac50b8b8ff (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
# 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"
# not compatible with soft-float archs (like mips)
arch="all !mips !mips64"
url="https://common-lisp.net/project/ecl/"
license="LGPL-2.1-or-later"
makedepends="gmp-dev libffi-dev gc-dev"
source="https://common-lisp.net/project/ecl/static/files/release/ecl-$pkgver.tgz
	fix-build-with-libffi-3.3.patch
	"
subpackages="$pkgname-doc $pkgname-dev"

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() {
	make DESTDIR="$pkgdir" install
}
sha512sums="5d743f422f6bc24671abf4c739cde8273d08f056906a1ef8aed5145c703b6d52c7fa4b5e0be8c125f32240c20ce053007786bb3ae81cc34d47791f6fae0819c1  ecl-16.1.3.tgz
5ec11d7b2195f86e0437419152da706b934687b0c942bf51e1ac0ca9346e52acd0ab0ccc6161de7269acbc59227e26747f46eca1b001217e33c9a249ad21b1e2  fix-build-with-libffi-3.3.patch"