wok annotate fastthread/receipt @ rev 17707
Up marlin: edit last patch (again)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Mon Mar 02 11:31:13 2015 -0300 (2015-03-02) |
parents | cfe8594b9203 |
children | a78610b2eb47 |
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" |
slaxemulator@10142 | 10 WEB_SITE="http://rubygems.org/gems/fastthread" |
slaxemulator@10142 | 11 WGET_URL="http://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 { |
slaxemulator@10142 | 20 local _gemdir="$(ruby -rubygems -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 } |