aboutsummaryrefslogtreecommitdiffstats
path: root/community/ecl/APKBUILD
blob: aa7b5118eab85958f607ed089a19859619f9c7c7 (plain) (blame)
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
# Contributor: Lucas Ramage <ramage.lucas@protonmail.com>
# Maintainer: Lucas Ramage <ramage.lucas@protonmail.com>
pkgname=ecl
pkgver=21.2.1
pkgrel=0
pkgdesc="Embeddable Common Lisp"
# not compatible with soft-float archs (like mips)
arch="all !mips !mips64"
url="https://common-lisp.net/project/ecl"
options="!check"
license="LGPL-2.1-or-later"
makedepends="gmp-dev libffi-dev gc-dev texinfo"
source="https://common-lisp.net/project/ecl/static/files/release/ecl-$pkgver.tgz"
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="0849bebe1a8073ea8027cfb172c1d7781d43adb6a8b80585bd08d5674b80422d1648b6fbf718cc17a51c5de6c696514523b4d13a82e8113bf9365c95d3c28648  ecl-21.2.1.tgz"