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