wok-next annotate fastthread/receipt @ rev 20904
libgdata: update bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 30 23:44:42 2018 +0300 (2018-07-30) |
parents | d43bf7aae921 |
children |
rev | line source |
---|---|
slaxemulator@10142 | 1 # SliTaz package receipt. |
slaxemulator@10142 | 2 |
slaxemulator@10142 | 3 PACKAGE="fastthread" |
slaxemulator@10142 | 4 VERSION="1.0.7" |
slaxemulator@10674 | 5 CATEGORY="development" |
slaxemulator@10142 | 6 SHORT_DESC="Optimized replacement for thread.rb primitives" |
slaxemulator@10142 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
al@20882 | 9 WEB_SITE="http://rubygems.org/gems/fastthread" |
al@20882 | 10 REPOLOGY="ruby:fastthread" |
al@20882 | 11 |
slaxemulator@10142 | 12 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10142 | 13 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10142 | 14 COOK_OPT="!repack_src !unpack" |
slaxemulator@10142 | 15 |
pascal@15593 | 16 DEPENDS="ruby" |
pascal@15593 | 17 BUILD_DEPENDS="ruby-dev" |
pascal@15593 | 18 |
slaxemulator@10142 | 19 # Rules to configure and make the package. |
slaxemulator@10142 | 20 compile_rules() |
slaxemulator@10142 | 21 { |
slaxemulator@10142 | 22 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
al@20513 | 23 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SRC/$TARBALL |
slaxemulator@10142 | 24 } |
slaxemulator@10142 | 25 |
slaxemulator@10142 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10142 | 27 genpkg_rules() |
slaxemulator@10142 | 28 { |
pascal@15593 | 29 cp -a $install/usr $fs |
slaxemulator@10142 | 30 } |