@ -16,7 +16,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := ruby
PKG_VERSION := 2.1.2
PKG_RELEASE := 7
PKG_RELEASE := 8
PKG_LIBVER := 2.1
@ -79,6 +79,12 @@ $(call Package/ruby/Default)
DEPENDS:= ruby +libdb47 +libffi
e n d e f
d e f i n e P a c k a g e / r u b y - b i g d e c i m a l
$( call Package /ruby /Default )
TITLE += Arbitrary-precision decimal floating-point library
DEPENDS:= ruby
e n d e f
d e f i n e P a c k a g e / r u b y - c g i
$( call Package /ruby /Default )
TITLE:= Ruby CGI support toolkit
@ -115,6 +121,12 @@ $(call Package/ruby/Default)
DEPENDS:= ruby +ruby-yaml +ruby-zlib +ruby-openssl +ruby-webrick +ruby-erb
e n d e f
d e f i n e P a c k a g e / r u b y - i o - c o n s o l e
$( call Package /ruby /Default )
TITLE += Console interface
DEPENDS:= ruby
e n d e f
d e f i n e P a c k a g e / r u b y - i r b
$( call Package /ruby /Default )
TITLE += ( interactive shell)
@ -127,6 +139,12 @@ $(call Package/ruby/Default)
DEPENDS:= ruby
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
$( call Package /ruby /Default )
TITLE += minitest bundled with Ruby
DEPENDS:= ruby
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
$( call Package /ruby /Default )
TITLE:= Ruby Network Kanji Filter
@ -139,6 +157,12 @@ $(call Package/ruby/Default)
DEPENDS:= ruby +libopenssl
e n d e f
d e f i n e P a c k a g e / r u b y - p s y c h
$( call Package /ruby /Default )
TITLE += YAML parser and emitter
DEPENDS:= ruby
e n d e f
d e f i n e P a c k a g e / r u b y - r d o c
$( call Package /ruby /Default )
TITLE += ( documentation generator)
@ -169,9 +193,9 @@ $(call Package/ruby/Default)
DEPENDS:= ruby
e n d e f
d e f i n e P a c k a g e / r u b y - u n i t
d e f i n e P a c k a g e / r u b y - t e s t u n i t
$( call Package /ruby /Default )
TITLE:= Ruby unit testing toolkit
TITLE:= Ruby Test Unit toolkit
DEPENDS:= ruby
e n d e f
@ -248,6 +272,9 @@ define Package/ruby-core/install
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /kconv.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/nkf.so \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/bigdecimal.so \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /bigdecimal/ \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /digest \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /digest.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/digest \
@ -267,6 +294,9 @@ define Package/ruby-core/install
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /irb/completion.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /irb/ext/save-history.rb \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/io/console.so \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /io/console/ \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/zlib.so \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /erb.rb \
@ -278,13 +308,22 @@ define Package/ruby-core/install
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /irb.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /irb \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /minitest/ \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /psych \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /psych.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/psych.so \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /rdoc.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /rdoc \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /rake.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /rake \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /ubygems.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /rubygems.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /rubygems \
$( 1) /usr/lib/ruby/gems \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /cgi.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /cgi \
@ -308,6 +347,14 @@ define Package/ruby-core/install
find $( 1) -name '*.h' | xargs rm -f
e n d e f
d e f i n e P a c k a g e / r u b y - b i g d e c i m a l / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /*/bigdecimal.so \
usr/lib/ruby/$( PKG_LIBVER) /bigdecimal/ \
usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/bigdecimal-*.gemspec \
) | ( cd $( 1) ; $( TAR) -xf - )
e n d e f
d e f i n e P a c k a g e / r u b y - c g i / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/ruby/$( PKG_LIBVER)
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /cgi $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
@ -343,8 +390,23 @@ define Package/ruby-gems/install
$( INSTALL_DIR) $( 1) /usr/bin
$( CP) $( PKG_INSTALL_DIR) /usr/bin/gem $( 1) /usr/bin/
$( INSTALL_DIR) $( 1) /usr/lib/ruby/$( PKG_LIBVER)
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /ubygems.rb $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /rubygems.rb $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /rubygems $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /gems
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /doc
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /cache
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /extensions
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /build_info
e n d e f
d e f i n e P a c k a g e / r u b y - i o - c o n s o l e / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /*/io/console.so \
usr/lib/ruby/$( PKG_LIBVER) /io/console/ \
usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/io-console-*.gemspec \
) | ( cd $( 1) ; $( TAR) -xf - )
e n d e f
d e f i n e P a c k a g e / r u b y - i r b / i n s t a l l
@ -360,6 +422,16 @@ define Package/ruby-json/install
usr/lib/ruby/$( PKG_LIBVER) /json.rb \
usr/lib/ruby/$( PKG_LIBVER) /json \
usr/lib/ruby/$( PKG_LIBVER) /*/json \
usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/json-*.gemspec \
) | ( cd $( 1) ; $( TAR) -xf - )
rm -rf \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /psych/json
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 / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /minitest/ \
usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/minitest-*.gemspec \
) | ( cd $( 1) ; $( TAR) -xf - )
e n d e f
@ -384,12 +456,28 @@ define Package/ruby-openssl/install
) | ( cd $( 1) ; $( TAR) -xf - )
e n d e f
d e f i n e P a c k a g e / r u b y - p s y c h / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /psych \
usr/lib/ruby/$( PKG_LIBVER) /psych.rb \
usr/lib/ruby/$( PKG_LIBVER) /*/psych.so \
usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/psych-*.gemspec \
) | ( cd $( 1) ; $( TAR) -xf - )
e n d e f
d e f i n e P a c k a g e / r u b y - r d o c / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/rdoc $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/ri $( 1) /usr/bin/
$( INSTALL_DIR) $( 1) /usr/lib/ruby/$( PKG_LIBVER)
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /rdoc.rb $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /rdoc $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /gems
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/rdoc-*.gemspec \
$( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/gems/$( PKG_LIBVER) /gems/rdoc-* \
$( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /gems/
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
@ -398,6 +486,11 @@ define Package/ruby-rake/install
$( INSTALL_DIR) $( 1) /usr/lib/ruby/$( PKG_LIBVER)
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /rake.rb $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /rake $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /gems
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/rake-*.gemspec \
$( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/gems/$( PKG_LIBVER) /gems/rake-* $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /gems/
e n d e f
d e f i n e P a c k a g e / r u b y - r e a d l i n e / i n s t a l l
@ -418,11 +511,15 @@ define Package/ruby-rss/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /rss.rb $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
e n d e f
d e f i n e P a c k a g e / r u b y - u n i t / i n s t a l l
d e f i n e P a c k a g e / r u b y - t e s t u n i t / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/testrb $( 1) /usr/bin/
$( INSTALL_DIR) $( 1) /usr/lib/ruby/$( PKG_LIBVER)
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /test $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default
$( INSTALL_DIR) $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /gems
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/test-unit-*.gemspec $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /specifications/default/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/gems/$( PKG_LIBVER) /gems/test-unit-* $( 1) /usr/lib/ruby/gems/$( PKG_LIBVER) /gems/
e n d e f
d e f i n e P a c k a g e / r u b y - w e b r i c k / i n s t a l l
@ -459,6 +556,7 @@ endef
$( eval $ ( call BuildPackage ,ruby ) )
$( eval $ ( call BuildPackage ,libruby ) )
$( eval $ ( call BuildPackage ,ruby -core ) )
$( eval $ ( call BuildPackage ,ruby -bigdecimal ) )
$( eval $ ( call BuildPackage ,ruby -cgi ) )
$( eval $ ( call BuildPackage ,ruby -dl ) )
$( eval $ ( call BuildPackage ,ruby -enc ) )
@ -466,15 +564,18 @@ $(eval $(call BuildPackage,ruby-erb))
$( eval $ ( call BuildPackage ,ruby -gdbm ) )
$( eval $ ( call BuildPackage ,ruby -gems ) )
$( eval $ ( call BuildPackage ,ruby -json ) )
$( eval $ ( call BuildPackage ,ruby -io -console ) )
$( eval $ ( call BuildPackage ,ruby -irb ) )
$( eval $ ( call BuildPackage ,ruby -minitest ) )
$( eval $ ( call BuildPackage ,ruby -nkf ) )
$( eval $ ( call BuildPackage ,ruby -openssl ) )
$( eval $ ( call BuildPackage ,ruby -psych ) )
$( eval $ ( call BuildPackage ,ruby -rake ) )
$( eval $ ( call BuildPackage ,ruby -rdoc ) )
$( eval $ ( call BuildPackage ,ruby -readline ) )
$( eval $ ( call BuildPackage ,ruby -rexml ) )
$( eval $ ( call BuildPackage ,ruby -rss ) )
$( eval $ ( call BuildPackage ,ruby -unit ) )
$( eval $ ( call BuildPackage ,ruby -test unit) )
$( eval $ ( call BuildPackage ,ruby -webrick ) )
$( eval $ ( call BuildPackage ,ruby -xmlrpc ) )
$( eval $ ( call BuildPackage ,ruby -yaml ) )