wok annotate rails/receipt @ rev 25071
waterline-plugin-multiload: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 11 09:07:17 2022 +0100 (2022-06-11) |
parents | 30cc9f65eaa5 |
children |
rev | line source |
---|---|
slaxemulator@10256 | 1 # SliTaz package receipt. |
slaxemulator@10256 | 2 |
slaxemulator@10256 | 3 PACKAGE="rails" |
Hans-G?nter@23604 | 4 VERSION="6.0.2.2" |
slaxemulator@10256 | 5 CATEGORY="development" |
slaxemulator@10256 | 6 SHORT_DESC="REST on Rails." |
slaxemulator@10256 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15610 | 8 LICENSE="MIT" |
Hans-G?nter@23604 | 9 WEB_SITE="https://rubygems.org/gems/rails" |
Hans-G?nter@23604 | 10 |
slaxemulator@10256 | 11 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20669 | 12 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
Hans-G?nter@23604 | 13 |
Hans-G?nter@23604 | 14 DEPENDS="actionmailer actionpack activerecord activeresource activesupport ruby" |
Hans-G?nter@23604 | 15 BUILD_DEPENDS="$DEPENDS ruby-dev" |
Hans-G?nter@23604 | 16 |
slaxemulator@10256 | 17 COOK_OPT="!repack_src !unpack" |
slaxemulator@10256 | 18 |
pascal@24459 | 19 # What is the latest version available today? |
pascal@24459 | 20 current_version() |
pascal@24459 | 21 { |
pascal@24459 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24459 | 23 sed '/versions\//!d;s|.*versions/||;s|".*||;q' |
pascal@24459 | 24 } |
pascal@24459 | 25 |
slaxemulator@10256 | 26 # Rules to configure and make the package. |
slaxemulator@10256 | 27 compile_rules() |
slaxemulator@10256 | 28 { |
pascal@22170 | 29 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
slaxemulator@10256 | 30 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10256 | 31 } |
slaxemulator@10256 | 32 |
slaxemulator@10256 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10256 | 34 genpkg_rules() |
slaxemulator@10256 | 35 { |
Hans-G?nter@23604 | 36 cp -a $install/usr $fs |
slaxemulator@10256 | 37 } |