@ -7,7 +7,6 @@
#
# To Do:
# - split up encodings
# - 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?
@ -119,10 +118,16 @@ endef
d e f i n e P a c k a g e / r u b y - e n c
$( call Package /ruby /Default )
TITLE += ( character re-coding library) ( adds 2MB+)
TITLE:= Ruby character re-coding library charset ( small 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 - e n c - e x t r a
$( call Package /ruby /Default )
TITLE:= Ruby character re-coding library charset ( extra subset)
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 - e r b
$( call Package /ruby /Default )
TITLE += ( embedded interpreter)
@ -406,6 +411,20 @@ endef
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 \
usr/lib/ruby/$( PKG_LIBVER) /*/enc/iso_8859_1.so \
usr/lib/ruby/$( PKG_LIBVER) /*/enc/utf_* \
usr/lib/ruby/$( PKG_LIBVER) /*/enc/euc_jp.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 - e n c - e x t r a / i n s t a l l
( cd $( PKG_INSTALL_DIR) ; $( TAR) \
--exclude= usr/lib/ruby/$( PKG_LIBVER) /*/enc/encdb.so \
--exclude= usr/lib/ruby/$( PKG_LIBVER) /*/enc/iso_8859_1.so \
--exclude= usr/lib/ruby/$( PKG_LIBVER) /*/enc/utf_* \
--exclude= usr/lib/ruby/$( PKG_LIBVER) /*/enc/euc_jp.so \
-cf - \
usr/lib/ruby/$( PKG_LIBVER) /*/enc \
) | ( cd $( 1) ; $( TAR) -xf - )
e n d e f
@ -593,6 +612,7 @@ $(eval $(call BuildPackage,ruby-cgi))
$( eval $ ( call BuildPackage ,ruby -digest ) )
$( eval $ ( call BuildPackage ,ruby -dl ) )
$( eval $ ( call BuildPackage ,ruby -enc ) )
$( eval $ ( call BuildPackage ,ruby -enc -extra ) )
$( eval $ ( call BuildPackage ,ruby -erb ) )
$( eval $ ( call BuildPackage ,ruby -gdbm ) )
$( eval $ ( call BuildPackage ,ruby -gems ) )