wok annotate rake/receipt @ rev 23680
qemu: partial cloop v4 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 26 15:17:58 2020 +0000 (2020-04-26) |
parents | a0dccc5d133d |
children | 2f230197370e |
rev | line source |
---|---|
slaxemulator@10255 | 1 # SliTaz package receipt. |
slaxemulator@10255 | 2 |
slaxemulator@10255 | 3 PACKAGE="rake" |
Hans-G?nter@23605 | 4 VERSION="13.0.1" |
slaxemulator@10255 | 5 CATEGORY="system-tools" |
slaxemulator@10255 | 6 SHORT_DESC="Make-like program implemented in Ruby." |
slaxemulator@10255 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15610 | 8 LICENSE="MIT" |
Hans-G?nter@23605 | 9 WEB_SITE="https://rubygems.org/gems/$PACKAGE" |
Hans-G?nter@23605 | 10 |
slaxemulator@10255 | 11 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20669 | 12 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
slaxemulator@10255 | 13 |
pascal@15610 | 14 DEPENDS="ruby" |
pascal@15610 | 15 BUILD_DEPENDS="ruby-dev" |
pascal@15610 | 16 |
Hans-G?nter@23605 | 17 COOK_OPT="!repack_src !unpack" |
Hans-G?nter@23605 | 18 |
slaxemulator@10255 | 19 # Rules to configure and make the package. |
slaxemulator@10255 | 20 compile_rules() |
slaxemulator@10255 | 21 { |
pascal@22170 | 22 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
slaxemulator@10255 | 23 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10255 | 24 } |
slaxemulator@10255 | 25 |
slaxemulator@10255 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10255 | 27 genpkg_rules() |
slaxemulator@10255 | 28 { |
Hans-G?nter@23605 | 29 cp -a $install/usr $fs |
slaxemulator@10255 | 30 } |