wok-next annotate rubygems/receipt @ rev 20683
Up pciids (20180517), usbids (20180504)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 18 15:15:42 2018 +0300 (2018-05-18) |
parents | e2dc7c2d000d |
children | cd7906120828 |
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 |
pankso@16189 | 14 # ARM: ruby-dev libruby-extras build host must be installed |
pascal@15601 | 15 DEPENDS="ruby libruby-extras" |
pankso@16221 | 16 BUILD_DEPENDS="ruby-dev libruby-extras" |
pascal@15601 | 17 |
pascal@11565 | 18 # Rules to configure and make the package. |
pascal@11565 | 19 compile_rules() |
pascal@11565 | 20 { |
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 { |
pankso@16189 | 27 mkdir -p $fs/usr |
pascal@15601 | 28 cp -a $install/usr/lib $fs/usr |
pascal@15601 | 29 cp -a $install/usr/bin $fs/usr |
pascal@11565 | 30 } |