aboutsummaryrefslogtreecommitdiffstats
path: root/community/jruby/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-06-24 22:47:46 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-06-24 22:44:42 +0200
commit41ace804b605dd7acedb7f53ed1dc79dfb567ea1 (patch)
tree78030f5ec0d46d31b6f3ca4e09b70e2989e93fdf /community/jruby/APKBUILD
parentb50b07f8182e6f658f75c5bdc8896102007b44c7 (diff)
downloadaports-41ace804b605dd7acedb7f53ed1dc79dfb567ea1.tar.gz
aports-41ace804b605dd7acedb7f53ed1dc79dfb567ea1.tar.bz2
aports-41ace804b605dd7acedb7f53ed1dc79dfb567ea1.tar.xz
community/jruby: move bundled webrick to subpackage
For symmetry with main/ruby.
Diffstat (limited to 'community/jruby/APKBUILD')
-rw-r--r--community/jruby/APKBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/jruby/APKBUILD b/community/jruby/APKBUILD
index 5716d5d670..3c72e93f43 100644
--- a/community/jruby/APKBUILD
+++ b/community/jruby/APKBUILD
@@ -15,6 +15,7 @@ subpackages="
$pkgname-rake
$pkgname-rdoc
$pkgname-readline
+ $pkgname-webrick::noarch
$pkgname-libs"
# jruby (launch script): https://github.com/jruby/jruby/pull/1860
source="https://s3.amazonaws.com/jruby.org/downloads/$pkgver/$pkgname-bin-$pkgver.tar.gz
@@ -104,6 +105,13 @@ readline() {
mv "$pkgdir"$_stdlibdir/readline* "$subpkgdir"$_stdlibdir/
}
+webrick() {
+ pkgdesc="HTTP server toolkit for JRuby"
+ depends="$pkgname"
+
+ _mvgem webrick
+}
+
libs() {
pkgdesc="JRuby's standard libraries"
depends=""