# HG changeset patch # User Eric Joseph-Alexandre # Date 1301521507 -7200 # Node ID 43dc568b06b19953345a6cd762163f6f570f963b # Parent fc791f57fde850d4fb88dc8c24e8defed98786fe add: ruby-enterprise* diff -r fc791f57fde8 -r 43dc568b06b1 ruby-enterprise-doc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ruby-enterprise-doc/receipt Wed Mar 30 23:45:07 2011 +0200 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="ruby-enterprise-doc" +VERSION="1.8.7-2011.03" +CATEGORY="development" +SHORT_DESC="Devel file for Ruby (to compile ruby-modules)." +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://www.rubyenterpriseedition.com/" +DEPENDS="ruby-enterprise" +WANTED="ruby-enterprise" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/ruby/1.8 + cp -a $src/source/_pkg/usr/lib/ruby/1.8/rdoc $fs/usr/lib/ruby/1.8/rdoc +} diff -r fc791f57fde8 -r 43dc568b06b1 ruby-enterprise/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ruby-enterprise/receipt Wed Mar 30 23:45:07 2011 +0200 @@ -0,0 +1,43 @@ +# SliTaz package receipt. + +PACKAGE="ruby-enterprise" +VERSION="1.8.7-2011.03" +CATEGORY="development" +SHORT_DESC="Ruby Enterprise Edition" +MAINTAINER="erjo@slitaz.org" +DEPENDS="libdb ncurses libssl readline zlib" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.rubyenterpriseedition.com/" +WGET_URL="http://rubyenterpriseedition.googlecode.com/files/$TARBALL" +BUILD_DEPENDS="zlib-dev" +SUGGESTED="tk xorg-libXss gdbm" +PROVIDES="ruby" +TAGS="ruby language programming" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src/source + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $src/source/_pkg/usr/lib/ruby $fs/usr/lib + cp -a $src/source/_pkg/usr/bin $fs/usr + + # Remove devel files --> ruby-enterprise-dev + rm $fs/usr/lib/ruby/1.8/i486-linux/*.h + + # Remove doc --> ruby-enterprise-doc + rm -rf $fs/usr/lib/ruby/1.8/rdoc +} +