wok-6.x view rubygems/receipt @ rev 1047
Up: emelfm2 (0.4.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jul 12 21:46:32 2008 +0200 (2008-07-12) |
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 }