wok-4.x view rubygems/receipt @ rev 12313

Up: libao (1.1.0)
author Richard Dunbar <mojo@slitaz.org>
date Fri Aug 10 00:43:02 2012 +0000 (2012-08-10)
parents
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 }