wok annotate activeresource/receipt @ rev 24748
cairo-gl: disabled trace
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 15:28:37 2022 +0000 (2022-03-16) |
parents | 63fa34c8d2fa |
children |
rev | line source |
---|---|
slaxemulator@10144 | 1 # SliTaz package receipt. |
slaxemulator@10144 | 2 |
slaxemulator@10144 | 3 PACKAGE="activeresource" |
Hans-G?nter@24106 | 4 VERSION="5.1.1" |
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 |
pascal@24353 | 19 # What is the latest version available today? |
pascal@24353 | 20 current_version() |
pascal@24353 | 21 { |
pascal@24353 | 22 wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q' |
pascal@24353 | 23 } |
pascal@24353 | 24 |
slaxemulator@10144 | 25 # Rules to configure and make the package. |
slaxemulator@10144 | 26 compile_rules() |
slaxemulator@10144 | 27 { |
Hans-G?nter@22167 | 28 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
Hans-G?nter@22167 | 29 gem install \ |
Hans-G?nter@22167 | 30 --ignore-dependencies \ |
Hans-G?nter@22167 | 31 -i "$DESTDIR/$_gemdir" \ |
Hans-G?nter@22167 | 32 $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10144 | 33 } |
slaxemulator@10144 | 34 |
slaxemulator@10144 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10144 | 36 genpkg_rules() |
slaxemulator@10144 | 37 { |
slaxemulator@13074 | 38 cp -a $install/usr $fs |
Hans-G?nter@22167 | 39 } |