aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chicken/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/chicken/APKBUILD')
-rw-r--r--testing/chicken/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/chicken/APKBUILD b/testing/chicken/APKBUILD
new file mode 100644
index 0000000000..bfbd7ce6e3
--- /dev/null
+++ b/testing/chicken/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
+pkgname=chicken
+pkgver=4.10.0
+pkgrel=0
+pkgdesc="R5RS and R7RS compatible scheme compiler and interpreter"
+url="http://call-cc.org/"
+arch="all"
+license="custom"
+depends="gcc libc-dev"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://code.call-cc.org/releases/$pkgver/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ # chicken does not support parallel builds.
+ make -j1 PLATFORM=linux PREFIX=/usr \
+ -C "$_builddir" || return 1
+}
+
+package() {
+ # chicken does not support parallel installs.
+ make -j1 PLATFORM=linux PREFIX=/usr DESTDIR="$pkgdir" \
+ -C "$_builddir" install || return 1
+
+ # Move documentation to /usr/share/doc.
+ mkdir -p "$pkgdir"/usr/share/doc/
+ mv "$pkgdir"/usr/share/$pkgname/doc "$pkgdir"/usr/share/doc/$pkgname || return 1
+
+ # Move license to /usr/share/licenses
+ mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+ mv "$pkgdir"/usr/share/doc/$pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/ || return 1
+}
+
+md5sums="5585edb369eb2a49f1f92775419852e7 chicken-4.10.0.tar.gz"
+sha256sums="0e07f5abcd11961986950dbeaa5a40db415f8a1b65daff9c300e9b05b334899b chicken-4.10.0.tar.gz"
+sha512sums="ff3405652e232ba7b06a8d4fc092772259f0917b1cdd119c0cf38f27ba95fca99d2c053c0f08317014fd7085e8cf89f68b56f22cb82c2988914b972ce59e3e29 chicken-4.10.0.tar.gz"