blob: e98654a413d5548dd94b9f7b7b2bdcf6c0f9ee82 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=sbcl
pkgver=1.3.7
pkgrel=0
pkgdesc="Steel Bank Common Lisp"
url="http://www.sbcl.org/"
arch="x86_64"
license="custom"
depends=""
depends_dev=""
makedepends="zlib-dev clisp paxmark linux-headers"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.bz2::http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver-source.tar.bz2
pax-genesis-stage-two.patch
ignore-test-failure.patch
musl-fixes.patch
config"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare || return 1
cp "$srcdir"/config "$builddir"/customize-target-features.lisp
sed -e "s@CFLAGS =.*\$@CFLAGS = ${CFLAGS} -D_GNU_SOURCE@" \
-e "s@LINKFLAGS =.*\$@LINKFLAGS = ${LDFLAGS}@" \
-i src/runtime/GNUmakefile || return 1
sed -e 's@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"/usr\"@' \
-i make-config.sh || return 1
}
build() {
cd "$builddir"
GNUMAKE=make ./make.sh "clisp" \
--prefix=/usr || return 1
}
package() {
cd "$builddir"
INSTALL_ROOT="$pkgdir/usr" LIB_DIR="/usr/lib" \
DOC_DIR="$pkgdir/usr/share/doc/$pkgname" \
sh install.sh || return 1
paxmark -rm "$pkgdir"/usr/bin/sbcl || return 1
install -Dm644 COPYING \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt \
|| return 1
rmdir "$pkgdir"/usr/share/doc/sbcl/html \
"$pkgdir"/usr/share/info 2>/dev/null || true
}
md5sums="59c8f49ffd68f02dd088161e2f0372b8 sbcl-1.3.7.tar.bz2
ad93a52799b71df48f8e8141e4203323 pax-genesis-stage-two.patch
09988017e7d5b0d1db03fbd6e483b464 ignore-test-failure.patch
6389327a5efc939c0a2a74ae9179f14d musl-fixes.patch
e05428b5f57554e4d9cf6234992791ee config"
sha256sums="854d71cf264d26321bc8ae13f6776b69882c8fb8dc937452dca2ea2c96c54d3a sbcl-1.3.7.tar.bz2
cba683ea31a19e75ab1c45a96d00980a4dbdf62ab0e02e4dc74055d391dcd49d pax-genesis-stage-two.patch
39f100d7ac6c3530291e8b9f4b18ac5ae99a109d153a8c9cb317e47ab288f386 ignore-test-failure.patch
49cf79a3f30ff482c0b2952645b5eb12c3bcea0e2eadf33d09d36b093351a9d9 musl-fixes.patch
fb5dedac565b2dce9e5a1cf5fb3f84149ab0f3df8746bb24a2d1e901d7668f05 config"
sha512sums="a181f8e0da1857bfe21b14a530f1de142ea0447f86e1c04086f1afc39e484ac58bf625261b366269b7e51b861660c0d5bb1aa91e1a9a1fd837b019c2dd963bd9 sbcl-1.3.7.tar.bz2
487217cd0c78a729fabe488bfc27faa8b00eefb7a34d94f9acba10d6f77053b1be666c24ee3aeff2f9f72d08ccf5447ae49fc60a7d11b834250a52902e4f3f63 pax-genesis-stage-two.patch
fcaf0754084d705b263cbca20988e2cacc96470d4f0f2e15b812678ba8d15a43de2b3ebd87648f6540833615fdbde0011f72ce7800b02dcbd8055229eb439ec3 ignore-test-failure.patch
7a0a6fc4e379af5a00cc41f5e31e2367d42bf8cafa1be5f087f2972131c688979ee8d391f4c39f52ae0d432fe4521b0ec40751a904962f368d3790b13beb489d musl-fixes.patch
03516a49ae8753e254a0a3fa48429d796ffacbc08360d8a41563cf8e3c3fe7fd6989021be6733549460bd78575cd5267fab9315dec53b16f5c349a990f4597dc config"
|