wok-6.x annotate activesupport/receipt @ rev 24049
Up openvpn (2.5.2), openssh (8.6p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 10 20:32:02 2021 +0000 (2021-05-10) |
parents | ce1a118be92e |
children | 63fa34c8d2fa |
rev | line source |
---|---|
slaxemulator@10143 | 1 # SliTaz package receipt. |
slaxemulator@10143 | 2 |
slaxemulator@10143 | 3 PACKAGE="activesupport" |
Hans-G?nter@22470 | 4 VERSION="6.0.2.1" |
slaxemulator@10143 | 5 CATEGORY="system-tools" |
Hans-G?nter@22168 | 6 SHORT_DESC="Database tables mapping to Ruby classes." |
slaxemulator@10143 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
Hans-G?nter@22168 | 9 WEB_SITE="https://rubygems.org/gems/activesupport" |
Hans-G?nter@22168 | 10 |
slaxemulator@10143 | 11 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20668 | 12 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
slaxemulator@10143 | 13 |
pascal@15379 | 14 DEPENDS="ruby" |
pascal@15379 | 15 BUILD_DEPENDS="ruby-dev" |
pascal@15379 | 16 |
Hans-G?nter@22168 | 17 COOK_OPT="!repack_src !unpack" |
Hans-G?nter@22168 | 18 |
slaxemulator@10143 | 19 # Rules to configure and make the package. |
slaxemulator@10143 | 20 compile_rules() |
slaxemulator@10143 | 21 { |
Hans-G?nter@22168 | 22 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
Hans-G?nter@22168 | 23 gem install \ |
Hans-G?nter@22168 | 24 --ignore-dependencies \ |
Hans-G?nter@22168 | 25 -i "$DESTDIR/$_gemdir" \ |
Hans-G?nter@22168 | 26 $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10143 | 27 } |
slaxemulator@10143 | 28 |
slaxemulator@10143 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10143 | 30 genpkg_rules() |
slaxemulator@10143 | 31 { |
slaxemulator@13071 | 32 cp -a $install/usr $fs |
Hans-G?nter@22168 | 33 } |