summaryrefslogtreecommitdiffstats
path: root/main/ruby
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-26 12:05:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-26 12:07:01 +0000
commit6e6c8a53bccc83eee29da01b305739ef5ccfa41a (patch)
treed0b0c29c51f468786453987e91e39a0dd6f9c47c /main/ruby
parentc66a8f17c45da8b71f6dc5582dc3ae47aa5b718e (diff)
downloadaports-6e6c8a53bccc83eee29da01b305739ef5ccfa41a.tar.bz2
aports-6e6c8a53bccc83eee29da01b305739ef5ccfa41a.tar.xz
main/ruby: remove ruby-gems subpackage
ruby does not work witout it fixes #2261
Diffstat (limited to 'main/ruby')
-rw-r--r--main/ruby/APKBUILD16
1 files changed, 3 insertions, 13 deletions
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD
index 460a7dfdb..7005572d8 100644
--- a/main/ruby/APKBUILD
+++ b/main/ruby/APKBUILD
@@ -3,7 +3,7 @@
pkgname=ruby
pkgver=2.0.0_p247
_pkgver=${pkgver/_/-}
-pkgrel=1
+pkgrel=2
_abi=2.0.0
@@ -14,7 +14,7 @@ license="Ruby"
depends=""
makedepends="zlib-dev openssl-dev libiconv-dev gdbm-dev db-dev readline-dev
libffi-dev coreutils yaml-dev autoconf"
-subpackages="$pkgname-doc $pkgname-dev $pkgname-irb $pkgname-gems \
+subpackages="$pkgname-doc $pkgname-dev $pkgname-irb
$pkgname-rdoc $pkgname-rake $pkgname-bigdecimal
$pkgname-io-console:io_console $pkgname-minitest
$pkgname-libs
@@ -25,6 +25,7 @@ patches="
source="ftp://ftp.ruby-lang.org/pub/ruby/${pkgver%.*}/${pkgname}-${_pkgver}.tar.bz2
$patches"
options="!fhs"
+replaces="ruby-gems"
#
# maybe its a good idea to split dep libs to seperate pkg's.
@@ -39,7 +40,6 @@ _arch=$CARCH
case $CARCH in
x86) _arch=i386;;
esac
-
prepare() {
cd "$_builddir"
@@ -140,16 +140,6 @@ _rmgem() {
return 0
}
-gems() {
- pkgdesc="The Ruby standard for packaging ruby libraries"
- replaces="rubygems"
- depends="ruby"
- arch="noarch"
- _mv usr/bin/gem \
- $_rubydir/rubygems \
- || return 1
-}
-
rake() {
pkgdesc="Ruby based make-like utility"
depends="ruby"