wok-current annotate fastthread/receipt @ rev 13702

Add get-geogebra
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 17 10:35:12 2012 +0100 (2012-12-17)
parents 3fdeb60a11b0
children 3b4e4318134e
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 }