wok-stable annotate fastthread/receipt @ rev 11276

Up: lxterminal (0.1.11)
author Alexander Medvedev <devl547@gmail.com>
date Thu Nov 10 03:13:05 2011 +0000 (2011-11-10)
parents 3fdeb60a11b0
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"
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 }