wok-next annotate rubygems/receipt @ rev 17356
Up slitaz-boot-scripts (5.6.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 18 14:27:51 2014 +0100 (2014-11-18) |
parents | fa43369c61c4 |
children | c4e53a39395a |
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" |
pankso@16189 | 13 HOST_ARCH="i486 arm" |
pascal@11565 | 14 |
pankso@16189 | 15 # ARM: ruby-dev libruby-extras build host must be installed |
pascal@15601 | 16 DEPENDS="ruby libruby-extras" |
pankso@16221 | 17 BUILD_DEPENDS="ruby-dev libruby-extras" |
pascal@15601 | 18 |
pascal@11565 | 19 # Rules to configure and make the package. |
pascal@11565 | 20 compile_rules() |
pascal@11565 | 21 { |
pascal@15601 | 22 ruby setup.rb --destdir=$DESTDIR |
pascal@11565 | 23 } |
pascal@11565 | 24 |
pascal@11565 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11565 | 26 genpkg_rules() |
pascal@11565 | 27 { |
pankso@16189 | 28 mkdir -p $fs/usr |
pascal@15601 | 29 cp -a $install/usr/lib $fs/usr |
pascal@15601 | 30 cp -a $install/usr/bin $fs/usr |
pascal@11565 | 31 } |