wok annotate activerecord/receipt @ rev 24040
Up zstd (1.4.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 13 17:03:24 2021 +0000 (2021-04-13) |
parents | 43d981d0e5b7 |
children | 63fa34c8d2fa |
rev | line source |
---|---|
slaxemulator@10145 | 1 # SliTaz package receipt. |
slaxemulator@10145 | 2 |
slaxemulator@10145 | 3 PACKAGE="activerecord" |
Hans-G?nter@22468 | 4 VERSION="6.0.2.1" |
slaxemulator@10145 | 5 CATEGORY="system-tools" |
Hans-G?nter@22166 | 6 SHORT_DESC="Rich support for multibyte strings." |
slaxemulator@10145 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
Hans-G?nter@22166 | 9 WEB_SITE="https://rubygems.org/gems/activerecord" |
Hans-G?nter@22166 | 10 |
slaxemulator@10145 | 11 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20668 | 12 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
Hans-G?nter@22166 | 13 |
Hans-G?nter@22166 | 14 DEPENDS="activesupport ruby" |
Hans-G?nter@22166 | 15 BUILD_DEPENDS="ruby-dev" |
Hans-G?nter@22166 | 16 |
slaxemulator@10145 | 17 COOK_OPT="!repack_src !unpack" |
slaxemulator@10145 | 18 |
slaxemulator@10145 | 19 # Rules to configure and make the package. |
slaxemulator@10145 | 20 compile_rules() |
slaxemulator@10145 | 21 { |
Hans-G?nter@22166 | 22 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
Hans-G?nter@22166 | 23 gem install \ |
Hans-G?nter@22166 | 24 --ignore-dependencies \ |
Hans-G?nter@22166 | 25 -i "$DESTDIR/$_gemdir" \ |
Hans-G?nter@22166 | 26 $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10145 | 27 } |
slaxemulator@10145 | 28 |
slaxemulator@10145 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10145 | 30 genpkg_rules() |
slaxemulator@10145 | 31 { |
slaxemulator@13075 | 32 cp -a $install/usr $fs |
Hans-G?nter@22166 | 33 } |