aboutsummaryrefslogtreecommitdiffstats
path: root/main/guile/APKBUILD
blob: d401afd60afd5897b7a48e0f48a800d85ceff0e4 (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=guile
pkgver=2.0.11
pkgrel=2
pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
url="http://www.gnu.org/software/guile/"
arch="all"
license="GPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
makedepends="gmp-dev libtool ncurses-dev texinfo libunistring-dev libffi-dev
	gc-dev"
depends=
depends_dev="guile gc-dev"
install=
source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz
	0002-Mark-mutex-with-owner-not-retained-threads-test-as-u.patch
	0003-Recognize-more-ARM-targets.patch
	0008-VM-ASM_MUL-for-ARM-Add-earlyclobber-constraint-to-th.patch
	0009-VM-Allow-the-C-compiler-to-choose-FP_REG-on-ARM.patch
	0010-web-Keep-the-default-size-for-the-client-s-in-kernel.patch
	0011-Fix-shrinking-of-contiguous-bytevectors-as-from-get-.patch
	0013-Handle-p-in-format-warnings.patch
	0015-Fix-SCM_SMOB_OBJECT-_-_0_-_1_-_2_-_3_-LOC.patch
	0016-peval-Handle-optional-argument-inits-that-refer-to-p.patch

	strtol_l.patch
	"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
	for i in $source; do
		case "$i" in
		*.patch)
			msg "Applying $i"
			patch -p1 -i "$srcdir"/$i || return 1
			;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-error-on-warning \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/charset.alias
}

md5sums="e532c68c6f17822561e3001136635ddd  guile-2.0.11.tar.gz
00b381cff020d6b43de150a99d08d955  0002-Mark-mutex-with-owner-not-retained-threads-test-as-u.patch
f140776c944bacc6cc14919f83902696  0003-Recognize-more-ARM-targets.patch
16b1a41f9cc22b2b177200a6f3961752  0008-VM-ASM_MUL-for-ARM-Add-earlyclobber-constraint-to-th.patch
25ed9239ec91a1fb78f6c4947125554f  0009-VM-Allow-the-C-compiler-to-choose-FP_REG-on-ARM.patch
4bed81aa62ff7a4b6b0cf223efce6a5f  0010-web-Keep-the-default-size-for-the-client-s-in-kernel.patch
36cd7ea5a15ace11c9c37f424baba09d  0011-Fix-shrinking-of-contiguous-bytevectors-as-from-get-.patch
9e7b0d2d52e22b253ac314c6cb317bb4  0013-Handle-p-in-format-warnings.patch
9bb62ca4bd913b5ba6a94868a2d33464  0015-Fix-SCM_SMOB_OBJECT-_-_0_-_1_-_2_-_3_-LOC.patch
04012be1e50736374564b14440e410f6  0016-peval-Handle-optional-argument-inits-that-refer-to-p.patch
54b76be46ecc9333e2a57cc0906c1927  strtol_l.patch"
sha256sums="e6786c934346fa2e38e46d8d81a622bb1c16d130153523f6129fcd79ef1fb040  guile-2.0.11.tar.gz
760355a63be9b756607a03352ceb916dfba02da917fa00c6bc07253d0f7c75f6  0002-Mark-mutex-with-owner-not-retained-threads-test-as-u.patch
1b438b5b513f6711c098a54944f907e4b4744bfd1b9315fb8bc33c67a1481952  0003-Recognize-more-ARM-targets.patch
10c710b4e4cba8a99d5f6ca1fd24653f5f67ed6fd3263b551678648713bdc049  0008-VM-ASM_MUL-for-ARM-Add-earlyclobber-constraint-to-th.patch
9247fdd64b5bc8dc8e3b233156a6b6027c7b06778729773d5c360f16c1f85fd3  0009-VM-Allow-the-C-compiler-to-choose-FP_REG-on-ARM.patch
36a05b4aee0135897ab1322762931c5ee4ee1e9d153ec46e69c5bc1954552788  0010-web-Keep-the-default-size-for-the-client-s-in-kernel.patch
b7b3425c807d227dccf0ada653d3edd6d343d6c9d7ee648140bd13812f7776e7  0011-Fix-shrinking-of-contiguous-bytevectors-as-from-get-.patch
3557178fec43d58c62a505a3199054d4f32da97cfafaa969a8e9b90616bc603f  0013-Handle-p-in-format-warnings.patch
4ded8227e4b93a5205ddcf43f01e0e8c7684396669192b2e95b2c710573b6395  0015-Fix-SCM_SMOB_OBJECT-_-_0_-_1_-_2_-_3_-LOC.patch
d28837b89c1653d9addf80573934dc97128a0c464b531f64fc58b1577f60340a  0016-peval-Handle-optional-argument-inits-that-refer-to-p.patch
2ba49adb27db50f5ec33779ce2f002cafde99a04038ca689bee7d2098296ce33  strtol_l.patch"
sha512sums="dc1a30d44e6d432fab2407d72385e959af863f6feba6cca5813b4de24c92200c78b44f336d1f4fa8c7b4058dea880982787c69888c91a2236fd2fb1d313137fd  guile-2.0.11.tar.gz
b1c309cc07830ff1741ef88857f8099187b449580e8d57862886abc367ef1accc5a35636d81eee09247f13d3a751cdc8909fdea05368d3d509bd2039ce06d078  0002-Mark-mutex-with-owner-not-retained-threads-test-as-u.patch
0d3a5fd9ebd34d65f9c5534ea87a161099f4e0d1aae0153226962776ad0b823becd1688fe431c8425968d44377aec5ba2f81865924652125f6356b5f9d993101  0003-Recognize-more-ARM-targets.patch
b283ac11ca5d01a4ab102258ff896fb3fb6cb053144ea31ae0d43c0229c9b9509c4eadc90d757b232a3c5421f39a83107893a3cd2c06551a4b822ab82f1ba4fc  0008-VM-ASM_MUL-for-ARM-Add-earlyclobber-constraint-to-th.patch
44ed0295e4f07bec155f14d6d77e6cde36be0517f594c2304d0dc21956bdc5235586a52f1a46ddc5e2bc9106c3cc4cdac14916c6e61aaca7ffa9139dd166e02e  0009-VM-Allow-the-C-compiler-to-choose-FP_REG-on-ARM.patch
58d0531f5a5a641187e3fadd8fd3951f18751531617f0eb10da59c8b8e7686329a3e1905b888496932daf2be0dd4597231268dee3e3853448e721337ade70b37  0010-web-Keep-the-default-size-for-the-client-s-in-kernel.patch
3ad38f8ed820751203e263d58b035304d0bb1f8815d4bcd4f4d2e292acc6a2f8c3d2a2287e48520386cd9fc785e179d2f8f1f4b9252bdbba817de06ab5df7ab1  0011-Fix-shrinking-of-contiguous-bytevectors-as-from-get-.patch
8484e882723d68ea1e658a86c7be5006de1af7d457f7f9a37a99b427460db8420980174efdcaff8fbfa49346ba01252d2e6183c8b5e323bd228d223ed011655b  0013-Handle-p-in-format-warnings.patch
5f450e57968f2f0592a0de6beaa02db315d668a31a85330e3aa44d87995c82f866828fceb71012c123f5dd3b3b5c3ec944c8011ba09658ad00e8ce1c6f958a87  0015-Fix-SCM_SMOB_OBJECT-_-_0_-_1_-_2_-_3_-LOC.patch
f55e514534fd1aba547ed8d4350fbeeaef77d634d7f1915a0108244a9bef5afe7074f3292b9f74bdccd0c56cddc60e222e9ccd2519ba337b6f156123e632ec26  0016-peval-Handle-optional-argument-inits-that-refer-to-p.patch
596efb03c65df98ea9afd932cb67e5b436e35fbf2442630e8a1854818f246b5a24eb920e3502ba28b882f0afb27c5148f1ff509c29baa91a7f37b3ecdc28c000  strtol_l.patch"