@ -10,14 +10,14 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := ruby
PKG_VERSION := 2.2.4
PKG_RELEASE := 2
PKG_VERSION := 2.3.0
PKG_RELEASE := 1
PKG_LIBVER := 2.2
PKG_LIBVER := 2.3
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := http://cache.ruby-lang.org/pub/ruby/$( PKG_LIBVER) /
PKG_MD5SUM := c3d65f6d2ebe90dda81a37885ea244f5
PKG_MD5SUM := f0d9f9bbdc87372ca98988a571875819
PKG_MAINTAINER := Luiz Angelo Daros de Luca <luizluca@gmail.com>
PKG_LICENSE := BSD-2-Clause
PKG_LICENSE_FILES := COPYING
@ -35,9 +35,13 @@ HOST_CONFIGURE_ARGS += \
--disable-install-doc \
--disable-install-rdoc \
--disable-install-capi \
--with-static-linked-ext \
--without-gmp \
--with-out-ext= tk,tk/tkutil,win32,win32ole,dbm,gdbm,readline \
# Does not compile with this. Workaround is --without-gmp
# https://bugs.ruby-lang.org/issues/11940
#--with-static-linked-ext \
# even not used, host build with restricted exts results in gems not being
# compiled for target (probably some cross compiling problem like checking
# host for selecting target features)
@ -83,6 +87,13 @@ define Build/InstallDev
) | ( cd $( 1) ; $( TAR) -xf - )
e n d e f
d e f i n e H o s t / I n s t a l l
# When ruby version is updated, make install asks in some cases before replace
# an existing different file. Remove them before install and avoid the interaction
rm -f $( HOST_BUILD_PREFIX) /bin/rake
$( call Host/Install/Default)
e n d e f
d e f i n e P a c k a g e / r u b y / D e f a u l t
SUBMENU:= Ruby
SECTION:= lang
@ -196,6 +207,7 @@ endef
d e f i n e P a c k a g e / r u b y - c g i / f i l e s
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / c g i
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / c g i . r b
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / * / c g i / e s c a p e . s o
e n d e f
d e f i n e P a c k a g e / r u b y - c s v / f i l e s
@ -226,6 +238,18 @@ define Package/ruby-debuglib/files
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / * / o b j s p a c e . s o
e n d e f
d e f i n e P a c k a g e / r u b y - d i d - y o u - m e a n / f i l e s
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / s p e c i f i c a t i o n s / d i d _ y o u _ m e a n - * . g e m s p e c
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / d i d _ y o u _ m e a n - * /
e n d e f
d e f i n e P a c k a g e / r u b y - d i d - y o u - m e a n / f i l e s - e x c l u d e d
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / d i d _ y o u _ m e a n - * / b e n c h m a r k
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / d i d _ y o u _ m e a n - * / d o c
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / d i d _ y o u _ m e a n - * / e v a l u a t i o n
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / d i d _ y o u _ m e a n - * / t e s t
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / d i d _ y o u _ m e a n - * / * . m d
e n d e f
d e f i n e P a c k a g e / r u b y - d i g e s t / d e s c r i p t i o n
Provides digest* files. Can be configured to use OpenSSL or
bundled hash functions.
@ -363,6 +387,7 @@ define Package/ruby-minitest/files
e n d e f
d e f i n e P a c k a g e / r u b y - m i n i t e s t / f i l e s - e x c l u d e d
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / m i n i t e s t - * / t e s t
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / m i n i t e s t - * / * . r d o c
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / m i n i t e s t - * / * . t x t
e n d e f
@ -413,6 +438,15 @@ define Package/ruby-net/files
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / n e t / *
e n d e f
d e f i n e P a c k a g e / r u b y - n e t - t e l n e t / f i l e s
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / s p e c i f i c a t i o n s / n e t - t e l n e t - * . g e m s p e c
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / n e t - t e l n e t - * /
e n d e f
d e f i n e P a c k a g e / r u b y - n e t - t e l n e t / f i l e s - e x c l u d e d
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / n e t - t e l n e t - * / * . m d
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / n e t - t e l n e t - * / * . t x t
e n d e f
d e f i n e P a c k a g e / r u b y - n k f / f i l e s
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / k c o n v . r b
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / * / n k f . s o
@ -456,6 +490,7 @@ endef
d e f i n e P a c k a g e / r u b y - p s y c h / f i l e s
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / p s y c h
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / p s y c h . r b
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / p s y c h _ j a r s . r b
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / * / p s y c h . s o
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / s p e c i f i c a t i o n s / d e f a u l t / p s y c h - * . g e m s p e c
e n d e f
@ -466,19 +501,21 @@ define Package/ruby-racc/files
e n d e f
d e f i n e P a c k a g e / r u b y - r a k e / f i l e s
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / r a k e /
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / r a k e . r b
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / s p e c i f i c a t i o n s / d e f a u l t / r a k e - * . g e m s p e c
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / s p e c i f i c a t i o n s / r a k e - * . g e m s p e c
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / r a k e - * /
e n d e f
d e f i n e P a c k a g e / r u b y - r a k e / f i l e s - e x c l u d e d
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / r a k e - * / d o c
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / r a k e - * / t e s t
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / r a k e - * / * . r d o c
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / r a k e - * / * . t x t
/ u s r / l i b / r u b y / g e m s / $( PKG_LIBVER ) / g e m s / r a k e - 1 0 . 4 . 2 / l i b / r a k e / r u n t e s t . r b
e n d e f
d e f i n e P a c k a g e / r u b y - r a k e / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/rake $( 1) /usr/bin/;
$( call RubyBuildPackage/install,rake,$( 1) )
e n d e f
d e f i n e P a c k a g e / r u b y - r a k e / f i l e s - e x c l u d e d
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / r a k e / r u n t e s t . r b
e n d e f
d e f i n e P a c k a g e / r u b y - r b c o n f i g / f i l e s
/ u s r / l i b / r u b y / $( PKG_LIBVER ) / * / r b c o n f i g . r b
@ -660,6 +697,7 @@ $(eval $(call RubyBuildPackage,csv,CSV library,+ruby-patterns +ruby-datetime +ru
$( eval $ ( call RubyBuildPackage ,datetime ,date library ) )
$( eval $ ( call RubyBuildPackage ,dbm ,support for dbm ,+libdb 47) )
$( eval $ ( call RubyBuildPackage ,debuglib ,debug library ,+ruby -multithread +ruby -prettyprint ) )
$( eval $ ( call RubyBuildPackage ,did -you -mean ,did you mean ? experience ,+ruby -misc ) )
$(eval $(call RubyBuildPackage,digest,Digest Library,+RUBY_DIGEST_USE_OPENSSL : libopenssl ))
$( eval $ ( call RubyBuildPackage ,drb ,distributed object system ,+ruby -filelib +ruby -patterns +ruby -socket ) )
$( eval $ ( call RubyBuildPackage ,enc ,character re -coding library charset ( small subset ) ,) )
@ -679,8 +717,9 @@ $(eval $(call RubyBuildPackage,misc,standard libraries subset (miscelaneous file
$( eval $ ( call RubyBuildPackage ,mkmf ,makefile library ,+ruby -filelib +ruby -optparse +ruby -rbconfig ) )
$( eval $ ( call RubyBuildPackage ,multithread ,multithread library ,+ruby -misc ) )
$( eval $ ( call RubyBuildPackage ,net ,Network Protocols Library ,+ruby -datetime +ruby -digest +ruby -filelib +ruby -uri ) )
$( eval $ ( call RubyBuildPackage ,net -telnet ,telnet client ,+ruby -net ) )
$( eval $ ( call RubyBuildPackage ,nkf ,Network Kanji Filter ,+ruby -enc ) )
$( eval $ ( call RubyBuildPackage ,openssl ,support for openssl ,+ruby -enc +ruby -misc +libopenssl ) )
$( eval $ ( call RubyBuildPackage ,openssl ,support for openssl ,+ruby -enc +ruby -multithread +libopenssl ) )
$( eval $ ( call RubyBuildPackage ,optparse ,command -line option analysis ,+ruby -misc ) )
$( eval $ ( call RubyBuildPackage ,patterns ,design patterns implementation ,+ruby -multithread ) )
$( eval $ ( call RubyBuildPackage ,powerassert ,Gem power_assert ,+ruby -ripper ) )