summaryrefslogtreecommitdiff
path: root/experimental/sbcl/APKBUILD
blob: c7217542d9d254cbf3b67a6236101dfa92d377fc (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
33
34
35
# Contributor: Lee Starnes <lee@canned-death.us>
# Maintainer: Lee Starnes <lee@canned-death.us>
pkgname=sbcl
pkgver=2.0.5
pkgrel=0
pkgdesc="Steel Bank Common Lisp"
url="http://www.sbcl.org"
arch="all !armv7"
license="BSD-2-Clause AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND MIT"
depends=""
makedepends="clisp clisp-dev"
checkdepends="ed"
subpackages="$pkgname-doc"
source="https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver-source.tar.bz2"

prepare() {
	default_prepare
	
	# run-program test is hard-coded to use /bin/ed but it should be /usr/bin/ed
	sed -i 's,/bin/ed,/usr/bin/ed,g' tests/run-program.impure.lisp
}

build() {
	./make.sh --prefix=/usr --with-dlclose-is-noop --xc-host=clisp
}

check() {
	cd tests && sh run-tests.sh
}

package() {
	INSTALL_ROOT="$pkgdir"/usr sh install.sh 
}

sha512sums="0c27e22dd76d157a74ef7e97dcd03030096dde0eb46901ea27acb60faa0ab34881d76a9c6708d963b0e6f62da6331b85b8d3de76fd1fc9163c159e631759f808  sbcl-2.0.5-source.tar.bz2"