wok-current annotate actionpack/receipt @ rev 24381
updated blktrace (1.2.0 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 06 10:30:31 2022 +0100 (2022-02-06) |
parents | 63fa34c8d2fa |
children |
rev | line source |
---|---|
slaxemulator@10146 | 1 # SliTaz package receipt. |
slaxemulator@10146 | 2 |
slaxemulator@10146 | 3 PACKAGE="actionpack" |
Hans-G?nter@24106 | 4 VERSION="6.1.4.1" |
slaxemulator@10146 | 5 CATEGORY="system-tools" |
slaxemulator@10146 | 6 SHORT_DESC="Simple, battle-tested conventions for building and testing MVC web applications." |
slaxemulator@10146 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
Hans-G?nter@22165 | 9 WEB_SITE="https://rubygems.org/gems/actionpack" |
Hans-G?nter@22165 | 10 |
slaxemulator@10146 | 11 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20668 | 12 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
Hans-G?nter@22165 | 13 |
Hans-G?nter@22165 | 14 DEPENDS="activesupport ruby" |
Hans-G?nter@22165 | 15 BUILD_DEPENDS="ruby-dev" |
Hans-G?nter@22165 | 16 |
slaxemulator@10146 | 17 COOK_OPT="!repack_src !unpack" |
slaxemulator@10146 | 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@10146 | 25 # Rules to configure and make the package. |
slaxemulator@10146 | 26 compile_rules() |
slaxemulator@10146 | 27 { |
Hans-G?nter@22165 | 28 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
Hans-G?nter@22165 | 29 gem install \ |
Hans-G?nter@22165 | 30 --ignore-dependencies \ |
Hans-G?nter@22165 | 31 -i "$DESTDIR/$_gemdir" \ |
Hans-G?nter@22165 | 32 $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10146 | 33 } |
slaxemulator@10146 | 34 |
slaxemulator@10146 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10146 | 36 genpkg_rules() |
slaxemulator@10146 | 37 { |
slaxemulator@13072 | 38 cp -a $install/usr $fs |
slaxemulator@10146 | 39 } |