wok-stable view rubygems/receipt @ rev 7103
Changed libglade TARBALL to .tar.bz2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 06:22:15 2010 +0000 (2010-11-03) |
parents | 9e5e5d877ecc |
children |
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"
13 TAGS="ruby"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ruby setup.rb --prefix=/usr --destdir=$PWD/_pkg/usr
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib/ruby/site_ruby/1.8 \
26 $fs/usr/lib/ruby/gems/1.8/cache \
27 $fs/usr/lib/ruby/gems/1.8/gems \
28 $fs/usr/lib/ruby/gems/1.8/specifications
29 cp -a $_pkg/usr/lib/* $fs/usr/lib/ruby/site_ruby/1.8
30 cp -a $_pkg/usr/bin $fs/usr
31 }