@ -3,19 +3,15 @@
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
#
# To Do:
# - allow selection of either native or pure version of a library where supported
# +-> some native libraries are probably only supported if ruby-dl is enabled
# anything else?
# - dirs not removed when uninstalling!
# - update to 2.1.3!
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := ruby
PKG_VERSION := 2.1.2
PKG_RELEASE := 10
PKG_RELEASE := 11
PKG_LIBVER := 2.1
@ -69,13 +65,32 @@ $(call Package/ruby/Default)
DEPENDS += +libpthread +librt +libgmp
e n d e f
# Ongoing work to break up ruby's standard library into coherent pieces
# with minimal dependencies between them
d e f i n e P a c k a g e / r u b y - m i s c
$( call Package /ruby /Default )
TITLE:= Ruby standard libraries ( miscelaneous subset)
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 o r e
d e f i n e P a c k a g e / r u b y - m i s c / D e s c r i p t i o n
This package contains miscellaneous files from stdlib
not splitted in other ruby packages like stringio
e n d e f
d e f i n e P a c k a g e / r u b y - s t d l i b
$( call Package /ruby /Default )
TITLE:= Ruby standard libraries
DEPENDS:= ruby +libdb47 +libffi
TITLE:= Ruby standard libraries ( metadata for all stdlib subsets)
DEPENDS:= ruby +ruby-misc +ruby-bigdecimal +ruby-cgi +ruby-csv +ruby-datetime +ruby-dbm +ruby-debuglib\
+ruby-digest +ruby-dl +ruby-drb +ruby-enc +ruby-enc-extra +ruby-erb +ruby-gdbm +ruby-gems \
+ruby-json +ruby-io-console +ruby-irb +ruby-fiddle +ruby-filelib +ruby-logger +ruby-math \
+ruby-minitest +ruby-mkmf +ruby-multithread +ruby-nkf +ruby-net +ruby-openssl +ruby-optparse \
+ruby-patterns +ruby-prettyprint +ruby-pstore +ruby-psych +ruby-racc +ruby-rake +ruby-rbconfig \
+ruby-rdoc +ruby-readline +ruby-rexml +ruby-rinda +ruby-ripper +ruby-rss +ruby-sdbm +ruby-shell \
+ruby-socket +ruby-testunit +ruby-uri +ruby-webrick +ruby-xmlrpc +ruby-yaml +ruby-zlib
e n d e f
d e f i n e P a c k a g e / r u b y - s t d l i b / D e s c r i p t i o n
This metapackage install all ruby-* packages, providing all
Ruby Standard Library files
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
@ -87,9 +102,42 @@ endef
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
DEPENDS:= ruby +ruby-filelib +ruby-pstore
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
$( call Package /ruby /Default )
TITLE += CSV library
DEPENDS:= ruby +ruby-patterns +ruby-datetime +ruby-enc
e n d e f
d e f i n e P a c k a g e / r u b y - d a t e t i m e
$( call Package /ruby /Default )
TITLE += date 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 - d a t e t i m e / D e s c r i p t i o n
Provides date.rb and time.rb
e n d e f
d e f i n e P a c k a g e / r u b y - d b m
$( call Package /ruby /Default )
TITLE:= Ruby support for dbm
DEPENDS:= ruby +libdb47
e n d e f
d e f i n e P a c k a g e / r u b y - d e b u g l i b
$( call Package /ruby /Default )
TITLE += debug library
DEPENDS:= ruby +ruby-multithread +ruby-prettyprint
e n d e f
d e f i n e P a c k a g e / r u b y - d e b u g l i b / D e s c r i p t i o n
Provides files for debugging as tracer.rb, profile.rb,
debug.rb and benchmark.rb
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
$( call Package /ruby /Default )
TITLE:= Ruby Digest Library
@ -110,10 +158,16 @@ define Package/ruby-digest/config
e n d e f
d e f i n e P a c k a g e / r u b y - d r b
$( call Package /ruby /Default )
TITLE:= Ruby distributed object system
DEPENDS:= ruby +ruby-filelib +ruby-patterns +ruby-socket
e n d e f
d e f i n e P a c k a g e / r u b y - d l
$( call Package /ruby /Default )
TITLE += ( dynamic linker support) ( adds 5MB+)
DEPENDS:= ruby
TITLE += ( dynamic linker support)
DEPENDS:= ruby +ruby-fiddle +ruby-multithread
e n d e f
d e f i n e P a c k a g e / r u b y - e n c
@ -131,7 +185,19 @@ endef
d e f i n e P a c k a g e / r u b y - e r b
$( call Package /ruby /Default )
TITLE += ( embedded interpreter)
DEPENDS:= ruby
DEPENDS:= ruby +ruby-cgi
e n d e f
d e f i n e P a c k a g e / r u b y - f i d d l e
$( call Package /ruby /Default )
TITLE:= A libffi wrapper for Ruby
DEPENDS:= ruby +libffi
e n d e f
d e f i n e P a c k a g e / r u b y - f i l e l i b
$( call Package /ruby /Default )
TITLE += File utils library
DEPENDS:= ruby +ruby-multithread +ruby-enc
e n d e f
d e f i n e P a c k a g e / r u b y - g d b m
@ -143,7 +209,7 @@ endef
d e f i n e P a c k a g e / r u b y - g e m s
$( call Package /ruby /Default )
TITLE:= Ruby gems packet management
DEPENDS:= ruby +ruby-yaml +ruby-zlib +ruby-openssl +ruby-webrick +ruby-er b
DEPENDS:= ruby +ruby-net +ruby-rdoc +ruby-zli b
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
@ -155,51 +221,117 @@ endef
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)
DEPENDS:= ruby +ruby-core
DEPENDS:= ruby +ruby-debuglib +ruby-filelib +ruby-math
e n d e f
d e f i n e P a c k a g e / r u b y - j s o n
$( call Package /ruby /Default )
TITLE:= Ruby support for JSON
DEPENDS:= ruby
DEPENDS:= ruby +ruby-datetime +ruby-misc
e n d e f
d e f i n e P a c k a g e / r u b y - l o g g e r
$( call Package /ruby /Default )
TITLE += logger and syslog library
DEPENDS:= ruby +ruby-multithread
e n d e f
d e f i n e P a c k a g e / r u b y - m a t h
$( call Package /ruby /Default )
TITLE += math library
DEPENDS:= ruby +ruby-patterns
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
DEPENDS:= ruby +ruby-filelib +ruby-optparse +ruby-prettyprint +ruby-rbconfig
e n d e f
d e f i n e P a c k a g e / r u b y - m u l t i t h r e a d
$( call Package /ruby /Default )
TITLE += multithread library
DEPENDS:= ruby +ruby-misc
e n d e f
d e f i n e P a c k a g e / r u b y - m k m f
$( call Package /ruby /Default )
TITLE += makefile library
DEPENDS:= ruby +ruby-filelib +ruby-optparse +ruby-rbconfig
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
$( call Package /ruby /Default )
TITLE:= Ruby Network Protocols Library
DEPENDS:= ruby +ruby-datetime +ruby-digest +ruby-filelib +ruby-uri
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
DEPENDS:= ruby
DEPENDS:= ruby +ruby-enc
e n d e f
d e f i n e P a c k a g e / r u b y - o p e n s s l
$( call Package /ruby /Default )
TITLE:= Ruby support for openssl
DEPENDS:= ruby +libopenssl
DEPENDS:= ruby +ruby-enc +libopenssl +ruby-misc
e n d e f
d e f i n e P a c k a g e / r u b y - o p t p a r s e
$( call Package /ruby /Default )
TITLE:= Ruby command-line option analysis
DEPENDS:= ruby +ruby-misc
e n d e f
d e f i n e P a c k a g e / r u b y - p a t t e r n s
$( call Package /ruby /Default )
TITLE:= Ruby design patterns implementation
DEPENDS:= ruby +ruby-multithread
e n d e f
d e f i n e P a c k a g e / r u b y - p r e t t y p r i n t
$( call Package /ruby /Default )
TITLE:= Ruby PrettyPrint librart
DEPENDS:= ruby +ruby-misc
e n d e f
d e f i n e P a c k a g e / r u b y - p s t o r e
$( call Package /ruby /Default )
TITLE += file based persistence
DEPENDS:= ruby +ruby-digest +ruby-enc
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
DEPENDS:= ruby +ruby-bigdecimal +ruby-datetime +ruby-misc +ruby-enc
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
d e f i n e P a c k a g e / r u b y - r a c c
$( call Package /ruby /Default )
TITLE += ( documentation generator)
TITLE:= LALR parser generator in 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 - r a k e
$( call Package /ruby /Default )
TITLE += Ruby Rake ( make replacement)
DEPENDS:= ruby +ruby-datetime +ruby-filelib +ruby-optparse +ruby-patterns +ruby-rbconfig
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
$( call Package /ruby /Default )
TITLE += Ruby RbConfig
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)
DEPENDS:= ruby +ruby-erb +ruby-irb +ruby-json +ruby-racc +ruby-rake +ruby-yaml
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
$( call Package /ruby /Default )
TITLE:= Ruby support for readline
@ -209,37 +341,73 @@ endef
d e f i n e P a c k a g e / r u b y - r e x m l
$( call Package /ruby /Default )
TITLE:= Ruby XML toolkit
DEPENDS:= ruby +ruby-patterns +ruby-enc
e n d e f
d e f i n e P a c k a g e / r u b y - r i n d a
$( call Package /ruby /Default )
TITLE:= Ruby Linda paradigm implementation
DEPENDS:= ruby +ruby-drb
e n d e f
d e f i n e P a c k a g e / r u b y - r i p p e r
$( call Package /ruby /Default )
TITLE:= Ruby script parser
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 s s
$( call Package /ruby /Default )
TITLE:= Ruby RSS toolkit
DEPENDS:= ruby +ruby-net +ruby-nkf +ruby-rexml
e n d e f
d e f i n e P a c k a g e / r u b y - s d b m
$( call Package /ruby /Default )
TITLE:= Ruby simple file-based key-value dbm implementation
DEPENDS:= ruby
e n d e f
d e f i n e P a c k a g e / r u b y - s h e l l
$( call Package /ruby /Default )
TITLE:= Ruby idiomatic Ruby interface
DEPENDS:= ruby +ruby-patterns
e n d e f
d e f i n e P a c k a g e / r u b y - s o c k e t
$( call Package /ruby /Default )
TITLE += socket support
DEPENDS:= ruby +ruby-multithread
e n d e f
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 Test Unit toolkit
DEPENDS:= ruby
DEPENDS:= ruby +ruby-minitest
e n d e f
d e f i n e P a c k a g e / r u b y - u r i
$( call Package /ruby /Default )
TITLE:= Ruby library to handle URI
DEPENDS:= ruby +ruby-socket +ruby-enc
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
$( call Package /ruby /Default )
TITLE:= Ruby Web server toolkit
DEPENDS:= ruby
DEPENDS:= ruby +ruby-erb +ruby-net +ruby-patterns +ruby-rbconfig
e n d e f
d e f i n e P a c k a g e / r u b y - x m l r p c
$( call Package /ruby /Default )
TITLE:= Ruby XML-RPC toolkit
DEPENDS:= ruby
DEPENDS:= ruby +ruby-rexml +ruby-webrick
e n d e f
d e f i n e P a c k a g e / r u b y - y a m l
$( call Package /ruby /Default )
TITLE:= Ruby YAML toolkit
DEPENDS:= ruby +ruby-psych
DEPENDS:= ruby +ruby-dbm +ruby-pstore +ruby- psych
e n d e f
d e f i n e P a c k a g e / r u b y - z l i b
@ -295,93 +463,37 @@ define Package/libruby/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libruby.so.* $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / r u b y - c o r e / i n s t a l l
d e f i n e P a c k a g e / r u b y - s t d l i b / i n s t a l l
# nothing to do
e n d e f
d e f i n e P a c k a g e / r u b y - m i s c / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby $( 1) /usr/lib/
rm -rf \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/curses.so \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/gdbm.so \
\
$( 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 \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/digest.so \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /openssl \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /openssl.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/openssl.so \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /drb/ssl.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /net/https.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /webrick/ssl.rb \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/dl.so \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /dl.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /dl \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/dl/ \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/enc \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/readline.so \
$( 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 \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /json.rb \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /json \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /*/json \
\
$( 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 \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /rexml \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /rss \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /rss.rb \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /test \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /webrick \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /webrick.rb \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /xmlrpc \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /xmlrpc.rb \
\
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /yaml \
$( 1) /usr/lib/ruby/$( PKG_LIBVER) /yaml.rb \
find $( 1) -name '*.h' | xargs rm -f
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /English.rb \
usr/lib/ruby/$( PKG_LIBVER) /abbrev.rb \
usr/lib/ruby/$( PKG_LIBVER) /base64.rb \
usr/lib/ruby/$( PKG_LIBVER) /delegate.rb \
usr/lib/ruby/$( PKG_LIBVER) /e2mmap.rb \
usr/lib/ruby/$( PKG_LIBVER) /expect.rb \
usr/lib/ruby/$( PKG_LIBVER) /getoptlong.rb \
usr/lib/ruby/$( PKG_LIBVER) /open3.rb \
usr/lib/ruby/$( PKG_LIBVER) /ostruct.rb \
usr/lib/ruby/$( PKG_LIBVER) /scanf.rb \
usr/lib/ruby/$( PKG_LIBVER) /securerandom.rb \
usr/lib/ruby/$( PKG_LIBVER) /set.rb \
usr/lib/ruby/$( PKG_LIBVER) /shellwords.rb \
usr/lib/ruby/$( PKG_LIBVER) /tsort.rb \
usr/lib/ruby/$( PKG_LIBVER) /weakref.rb \
usr/lib/ruby/$( PKG_LIBVER) /*/continuation.so \
usr/lib/ruby/$( PKG_LIBVER) /*/coverage.so \
usr/lib/ruby/$( PKG_LIBVER) /*/etc.so \
usr/lib/ruby/$( PKG_LIBVER) /*/fcntl.so \
usr/lib/ruby/$( PKG_LIBVER) /*/fiber.so \
usr/lib/ruby/$( PKG_LIBVER) /*/pty.so \
usr/lib/ruby/$( PKG_LIBVER) /*/stringio.so \
usr/lib/ruby/$( PKG_LIBVER) /*/strscan.so \
) | ( 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 - b i g d e c i m a l / i n s t a l l
@ -392,12 +504,43 @@ define Package/ruby-bigdecimal/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 - c s v / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/ruby/$( PKG_LIBVER)
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /csv.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 - 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) /
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /cgi.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 - d a t e t i m e / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /time.rb \
usr/lib/ruby/$( PKG_LIBVER) /date.rb \
usr/lib/ruby/$( PKG_LIBVER) /date/ \
usr/lib/ruby/$( PKG_LIBVER) /*/date_core.so \
) | ( 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 - d b m / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /*/dbm.so \
) | ( 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 - d e b u g l i b / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /profile.rb \
usr/lib/ruby/$( PKG_LIBVER) /profiler.rb \
usr/lib/ruby/$( PKG_LIBVER) /debug.rb \
usr/lib/ruby/$( PKG_LIBVER) /tracer.rb \
usr/lib/ruby/$( PKG_LIBVER) /benchmark.rb \
usr/lib/ruby/$( PKG_LIBVER) /*/objspace.so \
) | ( 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 - d i g e s t / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /digest \
@ -416,6 +559,13 @@ define Package/ruby-dl/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 - d r b / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /drb.rb \
usr/lib/ruby/$( PKG_LIBVER) /drb \
) | ( 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 - e n c / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /*/enc/encdb.so \
@ -443,6 +593,25 @@ define Package/ruby-erb/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /erb.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 - f i d d l e / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /fiddle.rb \
usr/lib/ruby/$( PKG_LIBVER) /fiddle/ \
usr/lib/ruby/$( PKG_LIBVER) /*/fiddle.so \
) | ( 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 - f i l e l i b / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /tmpdir.rb \
usr/lib/ruby/$( PKG_LIBVER) /tempfile.rb \
usr/lib/ruby/$( PKG_LIBVER) /pathname.rb \
usr/lib/ruby/$( PKG_LIBVER) /*/pathname.so \
usr/lib/ruby/$( PKG_LIBVER) /find.rb \
usr/lib/ruby/$( PKG_LIBVER) /fileutils.rb \
) | ( 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 - g d b m / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /*/gdbm.so \
@ -491,6 +660,27 @@ define Package/ruby-json/install
$( 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 - l o g g e r / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /logger.rb \
usr/lib/ruby/$( PKG_LIBVER) /syslog/logger.rb \
usr/lib/ruby/$( PKG_LIBVER) /*/syslog.so \
) | ( 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 - m a t h / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /prime.rb \
usr/lib/ruby/$( PKG_LIBVER) /mathn.rb \
usr/lib/ruby/$( PKG_LIBVER) /cmath.rb \
usr/lib/ruby/$( PKG_LIBVER) /complex.rb \
usr/lib/ruby/$( PKG_LIBVER) /rational.rb \
usr/lib/ruby/$( PKG_LIBVER) /*/mathn \
usr/lib/ruby/$( PKG_LIBVER) /matrix.rb \
usr/lib/ruby/$( PKG_LIBVER) /matrix \
) | ( 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 - 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/ \
@ -498,6 +688,33 @@ define Package/ruby-minitest/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 - m k m f / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /mkmf.rb \
usr/lib/ruby/$( PKG_LIBVER) /un.rb \
) | ( 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 - m u l t i t h r e a d / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /monitor.rb \
usr/lib/ruby/$( PKG_LIBVER) /timeout.rb \
usr/lib/ruby/$( PKG_LIBVER) /thwait.rb \
usr/lib/ruby/$( PKG_LIBVER) /mutex_m.rb \
usr/lib/ruby/$( PKG_LIBVER) /sync.rb \
usr/lib/ruby/$( PKG_LIBVER) /*/thread.so \
usr/lib/ruby/$( PKG_LIBVER) /*/io/wait.so \
usr/lib/ruby/$( PKG_LIBVER) /*/io/nonblock.so \
) | ( 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 - n e t / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /open-uri.rb \
usr/lib/ruby/$( PKG_LIBVER) /net/* \
) | ( 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 - n k f / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /kconv.rb \
@ -510,11 +727,36 @@ define Package/ruby-openssl/install
usr/lib/ruby/$( PKG_LIBVER) /openssl \
usr/lib/ruby/$( PKG_LIBVER) /openssl.rb \
usr/lib/ruby/$( PKG_LIBVER) /*/openssl.so \
usr/lib/ruby/$( PKG_LIBVER) /drb/ssl.rb \
usr/lib/ruby/$( PKG_LIBVER) /net/https.rb \
) | ( 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 - o p t p a r s e / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /optparse.rb \
usr/lib/ruby/$( PKG_LIBVER) /optparse \
) | ( 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 a t t e r n s / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /observer.rb \
usr/lib/ruby/$( PKG_LIBVER) /singleton.rb \
usr/lib/ruby/$( PKG_LIBVER) /forwardable.rb \
) | ( 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 r e t t y p r i n t / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /pp.rb \
usr/lib/ruby/$( PKG_LIBVER) /prettyprint.rb \
) | ( 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 t o r e / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/ruby/$( PKG_LIBVER)
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /pstore.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 - p s y c h / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /psych \
@ -539,6 +781,13 @@ define Package/ruby-rdoc/install
$( 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 c c / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /racc \
usr/lib/ruby/$( PKG_LIBVER) /*/racc/*.so \
) | ( 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 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/
@ -552,6 +801,14 @@ define Package/ruby-rake/install
$( 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 b c o n f i g / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /*/rbconfig.rb \
usr/lib/ruby/$( PKG_LIBVER) /rbconfig/* \
usr/lib/ruby/$( PKG_LIBVER) /*/rbconfig/*.so \
) | ( 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 e a d l i n e / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /*/readline.so \
@ -563,6 +820,19 @@ define Package/ruby-rexml/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /rexml $( 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 - r i n d a / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /rinda \
) | ( 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 i p p e r / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /ripper.rb \
usr/lib/ruby/$( PKG_LIBVER) /ripper \
usr/lib/ruby/$( PKG_LIBVER) /*/ripper.so \
) | ( 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 s s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/ruby/$( PKG_LIBVER)
@ -570,6 +840,30 @@ 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 - s d b m / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /*/sdbm.so \
) | ( 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 - s h e l l / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /shell.rb \
usr/lib/ruby/$( PKG_LIBVER) /shell \
) | ( 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 - s o c k e t / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /gserver.rb \
usr/lib/ruby/$( PKG_LIBVER) /ipaddr.rb \
usr/lib/ruby/$( PKG_LIBVER) /resolv-replace.rb \
usr/lib/ruby/$( PKG_LIBVER) /resolv.rb \
usr/lib/ruby/$( PKG_LIBVER) /socket.rb \
usr/lib/ruby/$( PKG_LIBVER) /*/socket.so \
) | ( 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 - 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/
@ -581,6 +875,13 @@ define Package/ruby-testunit/install
$( 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 - u r i / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) -cf - \
usr/lib/ruby/$( PKG_LIBVER) /uri.rb \
usr/lib/ruby/$( PKG_LIBVER) /uri \
) | ( 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 - w e b r i c k / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/ruby/$( PKG_LIBVER)
$( CP) $( PKG_INSTALL_DIR) /usr/lib/ruby/$( PKG_LIBVER) /webrick $( 1) /usr/lib/ruby/$( PKG_LIBVER) /
@ -614,11 +915,17 @@ endef
$( eval $ ( call BuildPackage ,ruby ) )
$( eval $ ( call BuildPackage ,libruby ) )
$( eval $ ( call BuildPackage ,ruby -core ) )
$( eval $ ( call BuildPackage ,ruby -stdlib ) )
$( eval $ ( call BuildPackage ,ruby -misc ) )
$( eval $ ( call BuildPackage ,ruby -bigdecimal ) )
$( eval $ ( call BuildPackage ,ruby -cgi ) )
$( eval $ ( call BuildPackage ,ruby -csv ) )
$( eval $ ( call BuildPackage ,ruby -datetime ) )
$( eval $ ( call BuildPackage ,ruby -dbm ) )
$( eval $ ( call BuildPackage ,ruby -debuglib ) )
$( eval $ ( call BuildPackage ,ruby -digest ) )
$( eval $ ( call BuildPackage ,ruby -dl ) )
$( eval $ ( call BuildPackage ,ruby -drb ) )
$( eval $ ( call BuildPackage ,ruby -enc ) )
$( eval $ ( call BuildPackage ,ruby -enc -extra ) )
$( eval $ ( call BuildPackage ,ruby -erb ) )
@ -627,16 +934,35 @@ $(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 -fiddle ) )
$( eval $ ( call BuildPackage ,ruby -filelib ) )
$( eval $ ( call BuildPackage ,ruby -logger ) )
$( eval $ ( call BuildPackage ,ruby -math ) )
$( eval $ ( call BuildPackage ,ruby -minitest ) )
$( eval $ ( call BuildPackage ,ruby -mkmf ) )
$( eval $ ( call BuildPackage ,ruby -multithread ) )
$( eval $ ( call BuildPackage ,ruby -nkf ) )
$( eval $ ( call BuildPackage ,ruby -net ) )
$( eval $ ( call BuildPackage ,ruby -openssl ) )
$( eval $ ( call BuildPackage ,ruby -optparse ) )
$( eval $ ( call BuildPackage ,ruby -patterns ) )
$( eval $ ( call BuildPackage ,ruby -prettyprint ) )
$( eval $ ( call BuildPackage ,ruby -pstore ) )
$( eval $ ( call BuildPackage ,ruby -psych ) )
$( eval $ ( call BuildPackage ,ruby -racc ) )
$( eval $ ( call BuildPackage ,ruby -rake ) )
$( eval $ ( call BuildPackage ,ruby -rbconfig ) )
$( eval $ ( call BuildPackage ,ruby -rdoc ) )
$( eval $ ( call BuildPackage ,ruby -readline ) )
$( eval $ ( call BuildPackage ,ruby -rexml ) )
$( eval $ ( call BuildPackage ,ruby -rinda ) )
$( eval $ ( call BuildPackage ,ruby -ripper ) )
$( eval $ ( call BuildPackage ,ruby -rss ) )
$( eval $ ( call BuildPackage ,ruby -sdbm ) )
$( eval $ ( call BuildPackage ,ruby -shell ) )
$( eval $ ( call BuildPackage ,ruby -socket ) )
$( eval $ ( call BuildPackage ,ruby -testunit ) )
$( eval $ ( call BuildPackage ,ruby -uri ) )
$( eval $ ( call BuildPackage ,ruby -webrick ) )
$( eval $ ( call BuildPackage ,ruby -xmlrpc ) )
$( eval $ ( call BuildPackage ,ruby -yaml ) )