wok-6.x annotate activeresource/receipt @ rev 22454
get-palemoon: add tar (magic) and J for .xz (downloaded archive is not bzip2 anymore)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Dec 26 11:01:01 2019 +0000 (2019-12-26) |
parents | bdd5dd52ad52 |
children | ed0387e59bb0 |
rev | line source |
---|---|
slaxemulator@10144 | 1 # SliTaz package receipt. |
slaxemulator@10144 | 2 |
slaxemulator@10144 | 3 PACKAGE="activeresource" |
slaxemulator@13074 | 4 VERSION="3.2.6" |
slaxemulator@10144 | 5 CATEGORY="development" |
slaxemulator@10144 | 6 SHORT_DESC="REST on Rails." |
slaxemulator@10144 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
Hans-G?nter@22167 | 9 WEB_SITE="https://rubygems.org/gems/activeresource" |
Hans-G?nter@22167 | 10 |
slaxemulator@10144 | 11 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20668 | 12 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
Hans-G?nter@22167 | 13 |
Hans-G?nter@22167 | 14 DEPENDS="activesupport ruby" |
Hans-G?nter@22167 | 15 BUILD_DEPENDS="ruby-dev" |
Hans-G?nter@22167 | 16 |
slaxemulator@10144 | 17 COOK_OPT="!repack_src !unpack" |
slaxemulator@10144 | 18 |
slaxemulator@10144 | 19 # Rules to configure and make the package. |
slaxemulator@10144 | 20 compile_rules() |
slaxemulator@10144 | 21 { |
Hans-G?nter@22167 | 22 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
Hans-G?nter@22167 | 23 gem install \ |
Hans-G?nter@22167 | 24 --ignore-dependencies \ |
Hans-G?nter@22167 | 25 -i "$DESTDIR/$_gemdir" \ |
Hans-G?nter@22167 | 26 $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10144 | 27 } |
slaxemulator@10144 | 28 |
slaxemulator@10144 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10144 | 30 genpkg_rules() |
slaxemulator@10144 | 31 { |
slaxemulator@13074 | 32 cp -a $install/usr $fs |
Hans-G?nter@22167 | 33 } |