wok-current view rubygems/receipt @ rev 2007
Up: grsync (0.6.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 08 20:33:07 2009 +0100 (2009-01-08) |
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 }