wok-next annotate rubygems/receipt @ rev 16033
dialog: new clean style
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 09 01:59:42 2014 +0100 (2014-03-09) |
parents | 7c3c62a0fa06 |
children | fa43369c61c4 |
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@15601 | 8 LICENSE="MIT" |
pascal@11565 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@11565 | 10 WEB_SITE="http://www.rubygems.org/" |
pascal@11565 | 11 WGET_URL="http://production.cf.rubygems.org/rubygems/$TARBALL" |
pascal@11565 | 12 TAGS="ruby" |
pascal@11565 | 13 |
pascal@15601 | 14 DEPENDS="ruby libruby-extras" |
pascal@15601 | 15 BUILD_DEPENDS="ruby ruby-dev libruby-extras" |
pascal@15601 | 16 |
pascal@11565 | 17 # Rules to configure and make the package. |
pascal@11565 | 18 compile_rules() |
pascal@11565 | 19 { |
pascal@11565 | 20 cd $src |
pascal@15601 | 21 ruby setup.rb --destdir=$DESTDIR |
pascal@11565 | 22 } |
pascal@11565 | 23 |
pascal@11565 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11565 | 25 genpkg_rules() |
pascal@11565 | 26 { |
pascal@11565 | 27 mkdir -p $fs/usr/ |
pascal@11565 | 28 |
pascal@15601 | 29 cp -a $install/usr/lib $fs/usr |
pascal@15601 | 30 cp -a $install/usr/bin $fs/usr |
pascal@11565 | 31 } |