wok annotate spruz/receipt @ rev 19022
Up slitaz-boot-scripts (427), tazpkg (904), tazwok (557)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 11:32:41 2016 +0200 (2016-04-01) |
parents | 25dece58861f |
children | a78610b2eb47 |
rev | line source |
---|---|
slaxemulator@10140 | 1 # SliTaz package receipt. |
slaxemulator@10140 | 2 |
slaxemulator@10140 | 3 PACKAGE="spruz" |
slaxemulator@10140 | 4 VERSION="0.2.6" |
slaxemulator@10140 | 5 CATEGORY="development" |
slaxemulator@10140 | 6 SHORT_DESC="All the stuff that isn't good/big enough for a real library." |
slaxemulator@10140 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15593 | 8 LICENSE="MIT" |
slaxemulator@10140 | 9 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10140 | 10 WEB_SITE="http://rubygems.org/gems/spruz" |
slaxemulator@10140 | 11 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10140 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@10140 | 13 |
pascal@15593 | 14 DEPENDS="ruby" |
pascal@15593 | 15 BUILD_DEPENDS="ruby-dev" |
pascal@15593 | 16 |
slaxemulator@10140 | 17 # Rules to configure and make the package. |
slaxemulator@10140 | 18 compile_rules() |
slaxemulator@10140 | 19 { |
slaxemulator@10140 | 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10140 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10140 | 22 } |
slaxemulator@10140 | 23 |
slaxemulator@10140 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10140 | 25 genpkg_rules() |
slaxemulator@10140 | 26 { |
pascal@15593 | 27 cp -a $install/usr $fs |
slaxemulator@10140 | 28 } |
slaxemulator@10140 | 29 |