From 4ffe35c312b2dc8d34db57ba9ed5ce2ed1b02d94 Mon Sep 17 00:00:00 2001 From: Lee Starnes Date: Sat, 18 Apr 2020 09:43:10 +0000 Subject: experimental/sbcl: create --- experimental/sbcl/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 experimental/sbcl/APKBUILD (limited to 'experimental/sbcl/APKBUILD') diff --git a/experimental/sbcl/APKBUILD b/experimental/sbcl/APKBUILD new file mode 100644 index 000000000..ac8408bcb --- /dev/null +++ b/experimental/sbcl/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Lee Starnes +# Maintainer: Lee Starnes +pkgname=sbcl +pkgver=2.0.3 +pkgrel=0 +pkgdesc="Steel Bank Common Lisp" +url="http://www.sbcl.org" +arch="pmmx x86_64 ppc ppc64 aarch64" +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" +# Patch provided by Eric Timmons: https://bugs.launchpad.net/sbcl/+bug/1768368 +source="https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver-source.tar.bz2 + musl-libc.patch" +builddir="$srcdir/$pkgname-$pkgver" + +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() { + sh 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="c29c115fff0e118e5c05959dd8d73ae876458daeb5ddde67ce485b10e6d1583b1f8a9597b54b45606696ab1b1eea5392dcb09357c83fce31323f2a5a154f2dd1 sbcl-2.0.3-source.tar.bz2 +e6757e4cc623682c501ab5e255a881833ff393efac829ffe9f67fff0a005724c3c03a23352b4c88d58b3d15dbb0cf33c8cc58d72d3795abb2f12a4bca4302165 musl-libc.patch" -- cgit v1.2.3-70-g09d2 From 0c2bd44a73d8a7c75162c819e105ba4d4ce9532e Mon Sep 17 00:00:00 2001 From: Lee Starnes Date: Sun, 19 Apr 2020 03:50:02 +0000 Subject: sbcl+libffcall: fix more issues --- experimental/sbcl/APKBUILD | 1 - user/libffcall/APKBUILD | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'experimental/sbcl/APKBUILD') diff --git a/experimental/sbcl/APKBUILD b/experimental/sbcl/APKBUILD index ac8408bcb..9aa3c4cfc 100644 --- a/experimental/sbcl/APKBUILD +++ b/experimental/sbcl/APKBUILD @@ -14,7 +14,6 @@ subpackages="$pkgname-doc" # Patch provided by Eric Timmons: https://bugs.launchpad.net/sbcl/+bug/1768368 source="https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver-source.tar.bz2 musl-libc.patch" -builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare diff --git a/user/libffcall/APKBUILD b/user/libffcall/APKBUILD index 67635fcf3..51e5fed8f 100644 --- a/user/libffcall/APKBUILD +++ b/user/libffcall/APKBUILD @@ -5,11 +5,11 @@ pkgname=libffcall pkgver=2.2 pkgrel=0 -pkgdesc="C library for implementing foreign function calls in embedded interpreterts" +pkgdesc="C library for implementing foreign function calls in embedded interpreters" url="https://www.gnu.org/software/libffcall" arch="all" license="GPL-2.0+" -makedepends="$depends_dev" +depends="" subpackages="$pkgname-dev $pkgname-doc" source="https://ftp.gnu.org/gnu/libffcall/libffcall-$pkgver.tar.gz" -- cgit v1.2.3-70-g09d2 From 3bee57e565c131fc1702f0955efeca58906df6ee Mon Sep 17 00:00:00 2001 From: Lee Starnes Date: Sun, 19 Apr 2020 04:14:04 +0000 Subject: sbcl+clisp: more stylistic fixes --- experimental/sbcl/APKBUILD | 4 ++-- user/clisp/APKBUILD | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'experimental/sbcl/APKBUILD') diff --git a/experimental/sbcl/APKBUILD b/experimental/sbcl/APKBUILD index 9aa3c4cfc..86f9ab1f5 100644 --- a/experimental/sbcl/APKBUILD +++ b/experimental/sbcl/APKBUILD @@ -5,7 +5,7 @@ pkgver=2.0.3 pkgrel=0 pkgdesc="Steel Bank Common Lisp" url="http://www.sbcl.org" -arch="pmmx x86_64 ppc ppc64 aarch64" +arch="all !armv7" license="BSD-2-Clause AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND MIT" depends="" makedepends="clisp clisp-dev" @@ -23,7 +23,7 @@ prepare() { } build() { - sh make.sh --prefix=/usr --with-dlclose-is-noop --xc-host=clisp + ./make.sh --prefix=/usr --with-dlclose-is-noop --xc-host=clisp } check() { diff --git a/user/clisp/APKBUILD b/user/clisp/APKBUILD index f1d347305..a95d343e0 100644 --- a/user/clisp/APKBUILD +++ b/user/clisp/APKBUILD @@ -9,7 +9,6 @@ pkgdesc="ANSI Common Lisp interpreter, compiler, and debugger" url="https://clisp.sourceforge.io" arch="all" license="GPL-2.0-only" -depends="libsigsegv" depends_dev="libsigsegv-dev libffcall ncurses-dev" makedepends="$depends_dev" subpackages="$pkgname-dev $pkgname-doc" @@ -22,8 +21,6 @@ prepare() { } build() { - ulimit -s 16384 - ./configure \ --prefix=/usr \ --with-ffcall \ -- cgit v1.2.3-70-g09d2