wok-6.x view fastthread/receipt @ rev 22314
updated xtrkcad and xtrkcad-dev (4.0.3a1 -> 5.1.2a)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 14 11:00:06 2019 +0100 (2019-11-14) |
parents | a78610b2eb47 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fastthread"
4 VERSION="1.0.7"
5 CATEGORY="development"
6 SHORT_DESC="Optimized replacement for thread.rb primitives"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.gem"
10 WEB_SITE="https://rubygems.org/gems/fastthread"
11 WGET_URL="https://rubygems.org/downloads/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 DEPENDS="ruby"
15 BUILD_DEPENDS="ruby-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }