aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-09 00:22:58 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-09 00:23:08 +0200
commitb1cd204733c69706df5014719590153675c0b8ea (patch)
tree4768e38b12506d9f89261bde49bcacb34658fc14 /main/ruby
parent4a14e5946f6f3df878a6489c81ef1efa2274a023 (diff)
downloadaports-b1cd204733c69706df5014719590153675c0b8ea.tar.bz2
aports-b1cd204733c69706df5014719590153675c0b8ea.tar.xz
main/ruby-json: use bundled version
Diffstat (limited to 'main/ruby')
-rw-r--r--main/ruby/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD
index 13e7b84599..99dd18a3ec 100644
--- a/main/ruby/APKBUILD
+++ b/main/ruby/APKBUILD
@@ -3,7 +3,7 @@
pkgname=ruby
pkgver=2.1.5
_pkgver=${pkgver/_/-}
-pkgrel=0
+pkgrel=1
_abi=2.1.0
@@ -17,7 +17,7 @@ makedepends="zlib-dev openssl-dev libiconv-dev gdbm-dev db-dev readline-dev
subpackages="$pkgname-doc $pkgname-dev $pkgname-irb
$pkgname-rdoc $pkgname-rake $pkgname-bigdecimal
$pkgname-io-console:io_console $pkgname-minitest
- $pkgname-libs
+ $pkgname-json $pkgname-libs
"
patches="
"
@@ -101,8 +101,6 @@ package() {
fi
install -Dm644 COPYING \
"${pkgdir}/usr/share/licenses/${pkgname}"/COPYING || return 1
- # unbundle
- _rmgem json
}
_mv() {
@@ -157,7 +155,7 @@ irb() {
rdoc() {
pkgdesc="Ruby documentation tool"
- depends="ruby"
+ depends="ruby ruby-json"
arch="noarch"
_mvgem rdoc || return 1
_mv usr/bin/ri \
@@ -186,6 +184,12 @@ minitest() {
_mvgem minitest
}
+json() {
+ pkgdesc="JSON implementation as a Ruby extension in C"
+ depends=ruby
+ _mvgem json
+}
+
libs() {
pkgdesc="Libraries necessary to run Ruby"
depends=""