wok-current annotate fastthread/receipt @ rev 22170
linld: clear heap in moverm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 10:47:52 2019 +0100 (2019-11-08) |
parents | a78610b2eb47 |
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" |
slaxemulator@10142 | 9 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20669 | 10 WEB_SITE="https://rubygems.org/gems/fastthread" |
pascal@20669 | 11 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
slaxemulator@10142 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@10142 | 13 |
pascal@15593 | 14 DEPENDS="ruby" |
pascal@15593 | 15 BUILD_DEPENDS="ruby-dev" |
pascal@15593 | 16 |
slaxemulator@10142 | 17 # Rules to configure and make the package. |
slaxemulator@10142 | 18 compile_rules() |
slaxemulator@10142 | 19 { |
pascal@22170 | 20 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
slaxemulator@10142 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10142 | 22 } |
slaxemulator@10142 | 23 |
slaxemulator@10142 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10142 | 25 genpkg_rules() |
slaxemulator@10142 | 26 { |
pascal@15593 | 27 cp -a $install/usr $fs |
slaxemulator@10142 | 28 } |