wok-current annotate activeresource/receipt @ rev 23993
linld: hide -b=<base_himem> argument
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 12 17:26:44 2020 +0000 (2020-12-12) |
parents | 925d91435cce |
children | 63fa34c8d2fa |
rev | line source |
---|---|
slaxemulator@10144 | 1 # SliTaz package receipt. |
slaxemulator@10144 | 2 |
slaxemulator@10144 | 3 PACKAGE="activeresource" |
Hans-G?nter@22469 | 4 VERSION="5.1.0" |
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 } |