wok-stable view rubygems/receipt @ rev 1596

midori: fix depends
author Paul Issott <paul@slitaz.org>
date Fri Oct 17 18:01:06 2008 +0000 (2008-10-17)
parents
children 9e5e5d877ecc
line source
1 # SliTaz package receipt.
3 PACKAGE="rubygems"
4 VERSION="1.1.1"
5 CATEGORY="development"
6 SHORT_DESC="Rubx packages Manager."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 DEPENDS="ruby"
10 BUILD_DEPENDS="ruby"
11 WEB_SITE="http://www.rubygems.org/"
12 WGET_URL="http://rubyforge.org/frs/download.php/35283/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ruby setup.rb --prefix=$PWD/_pkg/usr --no-rdoc
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib/ruby/site_ruby/1.8/rubygems \
25 $fs/usr/lib/ruby/gems/1.8/cache \
26 $fs/usr/lib/ruby/gems/1.8/gems \
27 $fs/usr/lib/ruby/gems/1.8/specifications
28 cp -a $_pkg/usr/lib/* $fs/usr/lib/ruby/site_ruby/1.8/rubygems
29 cp -a $_pkg/usr/bin $fs/usr
30 }