aboutsummaryrefslogtreecommitdiffstats
path: root/testing/clisp/APKBUILD
blob: 16799df12962a4a459a4e5520b82802e53ebc71a (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
35
36
37
38
39
40
41
42
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=clisp
pkgver=2.49
pkgrel=3
pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
url="https://clisp.sourceforge.io/"
arch="x86_64"
license="GPL-2.0-only"
depends_dev="libsigsegv-dev ffcall ncurses-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
	no-page.h.patch"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	ulimit -s 16384

	./configure \
		--prefix=/usr \
		--with-ffcall \
		--with-dynamic-ffi \
		--without-dynamic-modules \
		--disable-mmap \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		"$builddir"
	make -j1
}

package() {
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="eef66fc85199a2c283b616db61bf67ff103eeb0f19fa907da48994dc790b6f5f8d0c74fb3bd723c6b827c0ff3cfd89fa6ba67934fc669ed5d5249044b5140d81  clisp-2.49.tar.bz2
86273c5d5d05a8d41ab6311192e0c757d3f7fe4d78546590830aa00f8c2f170fcb08f66ea739ae8834cec00cdf0f6a20824eb6a3d0f6df97be405c26b1cc5d39  no-page.h.patch"