aboutsummaryrefslogtreecommitdiffstats
path: root/community/chicken
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-17 14:23:09 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-17 14:36:04 +0200
commit61cc9818b982634f84c125ad5dc6099172ff4971 (patch)
tree4de3d3b8b0ae16b21b10f116d21f97f4642d9b3c /community/chicken
parentf7bc67a2d784400170057d58d085b5596d8f7cd4 (diff)
downloadaports-61cc9818b982634f84c125ad5dc6099172ff4971.tar.bz2
aports-61cc9818b982634f84c125ad5dc6099172ff4971.tar.xz
community/chicken: move from testing/
Diffstat (limited to 'community/chicken')
-rw-r--r--community/chicken/APKBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/community/chicken/APKBUILD b/community/chicken/APKBUILD
new file mode 100644
index 0000000000..807b3dec45
--- /dev/null
+++ b/community/chicken/APKBUILD
@@ -0,0 +1,55 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
+pkgname=chicken
+pkgver=4.11.0
+pkgrel=2
+pkgdesc="R5RS and R7RS compatible scheme compiler and interpreter"
+url="http://call-cc.org/"
+arch="all"
+license="custom"
+depends="gcc libc-dev $pkgname-dev $pkgname-libs"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc $pkgname-libs $pkgname-dev $pkgname-feathers"
+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
+}
+
+feathers() {
+ pkgdesc="A debugger for compiled chicken programs"
+ depends="tk"
+ arch="noarch"
+
+ mkdir -p "$subpkgdir"/usr/bin/ \
+ "$subpkgdir"/usr/share/chicken/
+ mv "$pkgdir"/usr/bin/feathers \
+ "$subpkgdir"/usr/bin/ || return 1
+ mv "$pkgdir"/usr/share/chicken/feathers.tcl \
+ "$subpkgdir"/usr/share/chicken/ || return 1
+}
+
+md5sums="065a6bae6e91e75f6e296cf3f5cb8b1d chicken-4.11.0.tar.gz"
+sha256sums="e3dc2b8f95b6a3cd59c85b5bb6bdb2bd9cefc45b5d536a20cad74e3c63f4ad89 chicken-4.11.0.tar.gz"
+sha512sums="130d9f35ccecda3aefe4790fcb186eef321947013b681f3f978e3b666a45102ed9bc455c9452fe8b0b81c92cd571138c38365dff5bb7382ea2046a8bf3d188ad chicken-4.11.0.tar.gz"