wok view rubygems/receipt @ rev 12244
Up: slitaz-configs (4.9)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 09 18:09:48 2012 +0200 (2012-04-09) |
parents | |
children | 23c3aed67cd9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rubygems"
4 VERSION="1.8.10"
5 CATEGORY="development"
6 SHORT_DESC="Ruby packages Manager."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 DEPENDS="ruby libruby-extras"
10 BUILD_DEPENDS="ruby ruby-dev libruby-extras"
11 WEB_SITE="http://www.rubygems.org/"
12 WGET_URL="http://production.cf.rubygems.org/rubygems/$TARBALL"
13 TAGS="ruby"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ruby setup.rb --destdir=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 }