aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/ruby/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD
index c78df0ecef..e2d2ea91b6 100644
--- a/main/ruby/APKBUILD
+++ b/main/ruby/APKBUILD
@@ -1,11 +1,11 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby
-pkgver=1.9.3_p392
+pkgver=2.0.0_p0
_pkgver=${pkgver/_/-}
pkgrel=0
-_abi=1.9.1
+_abi=2.0.0
pkgdesc="An object-oriented language for quick and easy programming"
url="http://www.ruby-lang.org/en/"
@@ -65,6 +65,9 @@ build() {
# ruby saves path to install. we want use $PATH
export INSTALL=install
+ # the configure script does not detect isnan/isinf as macros
+ ac_cv_func_isnan=yes \
+ ac_cv_func_isinf=yes \
./configure \
--build=${CHOST:-i486-alpine-linux-uclibc} \
--prefix=/usr \
@@ -191,9 +194,9 @@ libs() {
mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
}
-md5sums="a810d64e2255179d2f334eb61fb8519c ruby-1.9.3-p392.tar.bz2
+md5sums="895c1c581f8d28e8b3bb02472b2ccf6a ruby-2.0.0-p0.tar.bz2
8395693c99415532780605af203a102b ruby-1.9.3-always-use-i386.patch"
-sha256sums="5a7334dfdf62966879bf539b8a9f0b889df6f3b3824fb52a9303c3c3d3a58391 ruby-1.9.3-p392.tar.bz2
+sha256sums="c680d392ccc4901c32067576f5b474ee186def2fcd3fcbfa485739168093295f ruby-2.0.0-p0.tar.bz2
bce3b741537f7b86e4578c5420a1a8bea87e7c8b94fc3c42cd34eecf8503eb92 ruby-1.9.3-always-use-i386.patch"
-sha512sums="b2135c0770c459ef47fe56d3551e079f4432e49025d418a802c7a4bf105578d697082a52d001a1f0b2e350894f766f816d1c31cbbd82368eef5c789860961915 ruby-1.9.3-p392.tar.bz2
+sha512sums="2e7a2f8aaff66bb33b0ed122332c873ee7c26a088a33a1de849b9ef97283476cd4ffd0748755b1d3f56f85cbb10dc8ec020a55b100c45e47a8ccca8809eaf732 ruby-2.0.0-p0.tar.bz2
1531a8d056cca385401bdf56523127d3ce405cc2703c24069a5fb3d803dee35122e9274022a2891a32fdb229280bf50918d91b67e9a5f2ad951fe11e49bd3c1c ruby-1.9.3-always-use-i386.patch"