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

libcap: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 05 12:38:16 2012 +0200 (2012-05-05)
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 }