wok view rubygems/receipt @ rev 13872

Up dahdi (2.6.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 14 23:42:27 2013 +0100 (2013-01-14)
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 }