wok-undigest view rubygems/receipt @ rev 599
Move hardware-ibm-6272 to wok
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:20:33 2011 +0100 (2011-12-25) |
parents | 9963a04e5a64 |
children |
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 }