wok-6.x annotate rubygems/receipt @ rev 11604
Add rrdtool-lua
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 19 08:45:27 2012 +0100 (2012-01-19) |
parents | |
children | 23c3aed67cd9 |
rev | line source |
---|---|
pascal@11565 | 1 # SliTaz package receipt. |
pascal@11565 | 2 |
pascal@11565 | 3 PACKAGE="rubygems" |
pascal@11565 | 4 VERSION="1.8.10" |
pascal@11565 | 5 CATEGORY="development" |
pascal@11565 | 6 SHORT_DESC="Ruby packages Manager." |
pascal@11565 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11565 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@11565 | 9 DEPENDS="ruby libruby-extras" |
pascal@11565 | 10 BUILD_DEPENDS="ruby ruby-dev libruby-extras" |
pascal@11565 | 11 WEB_SITE="http://www.rubygems.org/" |
pascal@11565 | 12 WGET_URL="http://production.cf.rubygems.org/rubygems/$TARBALL" |
pascal@11565 | 13 TAGS="ruby" |
pascal@11565 | 14 |
pascal@11565 | 15 # Rules to configure and make the package. |
pascal@11565 | 16 compile_rules() |
pascal@11565 | 17 { |
pascal@11565 | 18 cd $src |
pascal@11565 | 19 ruby setup.rb --destdir=$PWD/_pkg |
pascal@11565 | 20 } |
pascal@11565 | 21 |
pascal@11565 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11565 | 23 genpkg_rules() |
pascal@11565 | 24 { |
pascal@11565 | 25 mkdir -p $fs/usr/ |
pascal@11565 | 26 |
pascal@11565 | 27 cp -a $_pkg/usr/lib $fs/usr |
pascal@11565 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@11565 | 29 } |