wok diff rubygems/receipt @ rev 1589

libxslt: fix depends
author Paul Issott <paul@slitaz.org>
date Thu Oct 16 20:13:47 2008 +0000 (2008-10-16)
parents
children 9e5e5d877ecc
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rubygems/receipt	Thu Oct 16 20:13:47 2008 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rubygems"
     1.7 +VERSION="1.1.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Rubx packages Manager."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.12 +DEPENDS="ruby"
    1.13 +BUILD_DEPENDS="ruby"
    1.14 +WEB_SITE="http://www.rubygems.org/"
    1.15 +WGET_URL="http://rubyforge.org/frs/download.php/35283/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	ruby setup.rb --prefix=$PWD/_pkg/usr --no-rdoc
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr/lib/ruby/site_ruby/1.8/rubygems \
    1.28 +		$fs/usr/lib/ruby/gems/1.8/cache \
    1.29 +		$fs/usr/lib/ruby/gems/1.8/gems \
    1.30 +		$fs/usr/lib/ruby/gems/1.8/specifications
    1.31 +	cp -a $_pkg/usr/lib/* $fs/usr/lib/ruby/site_ruby/1.8/rubygems
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +}