wok-4.x view rubygems/receipt @ rev 5906

Up libiec61883-dev (1.2.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 26 13:40:17 2010 +0200 (2010-07-26)
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 }