wok-6.x annotate fastthread/receipt @ rev 10142
Add fastthread.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 17:46:09 2011 +0000 (2011-05-20) |
parents | |
children | cfe8594b9203 |
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@10142 | 5 CATEGORY="developement" |
slaxemulator@10142 | 6 SHORT_DESC="Optimized replacement for thread.rb primitives" |
slaxemulator@10142 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@10142 | 8 DEPENDS="ruby" |
slaxemulator@10142 | 9 BUILD_DEPENDS="ruby-dev" |
slaxemulator@10142 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10142 | 11 WEB_SITE="http://rubygems.org/gems/fastthread" |
slaxemulator@10142 | 12 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10142 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10142 | 14 |
slaxemulator@10142 | 15 # Rules to configure and make the package. |
slaxemulator@10142 | 16 compile_rules() |
slaxemulator@10142 | 17 { |
slaxemulator@10142 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10142 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10142 | 20 } |
slaxemulator@10142 | 21 |
slaxemulator@10142 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10142 | 23 genpkg_rules() |
slaxemulator@10142 | 24 { |
slaxemulator@10142 | 25 cp -a $_pkg/usr $fs |
slaxemulator@10142 | 26 } |