wok-current rev 2414
Up: rubygems and fix path (now gen works)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 10 13:12:55 2009 +0100 (2009-03-10) |
parents | ac3025c2f81a |
children | f0649c7e255c |
files | rubygems/receipt |
line diff
1.1 --- a/rubygems/receipt Tue Mar 10 11:57:24 2009 +0000 1.2 +++ b/rubygems/receipt Tue Mar 10 13:12:55 2009 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="rubygems" 1.7 -VERSION="1.1.1" 1.8 +VERSION="1.3.1" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Rubx packages Manager." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -9,22 +9,22 @@ 1.13 DEPENDS="ruby" 1.14 BUILD_DEPENDS="ruby" 1.15 WEB_SITE="http://www.rubygems.org/" 1.16 -WGET_URL="http://rubyforge.org/frs/download.php/35283/$TARBALL" 1.17 +WGET_URL="http://rubyforge.org/frs/download.php/45905/$TARBALL" 1.18 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 cd $src 1.23 - ruby setup.rb --prefix=$PWD/_pkg/usr --no-rdoc 1.24 + ruby setup.rb --prefix=/usr --destdir=$PWD/_pkg/usr 1.25 } 1.26 1.27 # Rules to gen a SliTaz package suitable for Tazpkg. 1.28 genpkg_rules() 1.29 { 1.30 - mkdir -p $fs/usr/lib/ruby/site_ruby/1.8/rubygems \ 1.31 + mkdir -p $fs/usr/lib/ruby/site_ruby/1.8 \ 1.32 $fs/usr/lib/ruby/gems/1.8/cache \ 1.33 $fs/usr/lib/ruby/gems/1.8/gems \ 1.34 $fs/usr/lib/ruby/gems/1.8/specifications 1.35 - cp -a $_pkg/usr/lib/* $fs/usr/lib/ruby/site_ruby/1.8/rubygems 1.36 + cp -a $_pkg/usr/lib/* $fs/usr/lib/ruby/site_ruby/1.8 1.37 cp -a $_pkg/usr/bin $fs/usr 1.38 }