aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chicken/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-16 00:56:39 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-16 00:56:39 +0200
commitc61361d9e2b404e6abdf4e789192bdfe6ba44104 (patch)
tree381ea9b90928f95c48129721ea0475bf53e576e6 /testing/chicken/APKBUILD
parent9686544dca02cfe7cad42ad498b8a63c6e7cba5d (diff)
downloadaports-c61361d9e2b404e6abdf4e789192bdfe6ba44104.tar.bz2
aports-c61361d9e2b404e6abdf4e789192bdfe6ba44104.tar.xz
testing/chicken: add feathers subpackage
Also move some more stuff to the libs subpackage.
Diffstat (limited to 'testing/chicken/APKBUILD')
-rw-r--r--testing/chicken/APKBUILD25
1 files changed, 23 insertions, 2 deletions
diff --git a/testing/chicken/APKBUILD b/testing/chicken/APKBUILD
index 0f30382df9..64cc1f08c3 100644
--- a/testing/chicken/APKBUILD
+++ b/testing/chicken/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=chicken
pkgver=4.11.0
-pkgrel=0
+pkgrel=1
pkgdesc="R5RS and R7RS compatible scheme compiler and interpreter"
url="http://call-cc.org/"
arch="all"
@@ -11,7 +11,7 @@ depends="gcc libc-dev $pkgname-dev $pkgname-libs"
depends_dev=""
makedepends="$depends_dev"
install=""
-subpackages="$pkgname-doc $pkgname-libs $pkgname-dev"
+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
@@ -37,6 +37,27 @@ package() {
"$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
+}
+
+libs() {
+ default_libs || return 1
+
+ mkdir -p "$subpkgdir"/usr/lib/chicken/8/
+ mv "$pkgdir"/usr/lib/chicken/8/*.so \
+ "$subpkgdir"/usr/lib/chicken/8/
+}
+
md5sums="065a6bae6e91e75f6e296cf3f5cb8b1d chicken-4.11.0.tar.gz"
sha256sums="e3dc2b8f95b6a3cd59c85b5bb6bdb2bd9cefc45b5d536a20cad74e3c63f4ad89 chicken-4.11.0.tar.gz"
sha512sums="130d9f35ccecda3aefe4790fcb186eef321947013b681f3f978e3b666a45102ed9bc455c9452fe8b0b81c92cd571138c38365dff5bb7382ea2046a8bf3d188ad chicken-4.11.0.tar.gz"