diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-09-06 19:24:53 +0200 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-09-07 08:20:22 +0000 |
commit | 62bbe4bb1eab033d5a35884b56c80170b7dfd641 (patch) | |
tree | 3b96dd449051809ea740b422c85f5f3b6812404e /testing/chicken/APKBUILD | |
parent | 5f6e890a5a4038f496bab7a2df3fe8f4754c51cb (diff) | |
download | aports-62bbe4bb1eab033d5a35884b56c80170b7dfd641.tar.bz2 aports-62bbe4bb1eab033d5a35884b56c80170b7dfd641.tar.xz |
testing/chicken: new aport
Diffstat (limited to 'testing/chicken/APKBUILD')
-rw-r--r-- | testing/chicken/APKBUILD | 40 |
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" |