wok-6.x view rubygems/receipt @ rev 4019

Up: xorg-xf86-video-sis (0.10.2)
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Sep 03 23:17:36 2009 +0000 (2009-09-03)
parents 6c4a9dddac48
children 8be66f03fbd2
line source
1 # SliTaz package receipt.
3 PACKAGE="rubygems"
4 VERSION="1.3.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/45905/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ruby setup.rb --prefix=/usr --destdir=$PWD/_pkg/usr
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 \
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
29 cp -a $_pkg/usr/bin $fs/usr
30 }