wok view rubygems/receipt @ rev 3469
can compress ppd files in cup
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Jun 16 12:44:03 2009 +0000 (2009-06-16) |
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 }