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

Up: gimp, gimp-console, gimp-dev, gimp-plug-ins to 2.6.11.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 04 19:32:48 2010 +0000 (2010-10-04)
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 }