wok-current annotate activesupport/receipt @ rev 20668
Up pjsip (2.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 10:25:55 2019 +0100 (2019-01-21) |
parents | 2a5cc8208d36 |
children | ce1a118be92e |
rev | line source |
---|---|
slaxemulator@10143 | 1 # SliTaz package receipt. |
slaxemulator@10143 | 2 |
slaxemulator@10143 | 3 PACKAGE="activesupport" |
slaxemulator@13071 | 4 VERSION="3.2.6" |
slaxemulator@10143 | 5 CATEGORY="system-tools" |
slaxemulator@10143 | 6 SHORT_DESC="Database tables mapping to Ruby classes" |
slaxemulator@10143 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
slaxemulator@10143 | 9 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20668 | 10 WEB_SITE="https://rubygems.org/gems/activesupport" |
pascal@20668 | 11 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
slaxemulator@10143 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@10143 | 13 |
pascal@15379 | 14 DEPENDS="ruby" |
pascal@15379 | 15 BUILD_DEPENDS="ruby-dev" |
pascal@15379 | 16 |
slaxemulator@10143 | 17 # Rules to configure and make the package. |
slaxemulator@10143 | 18 compile_rules() |
slaxemulator@10143 | 19 { |
slaxemulator@10143 | 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10143 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10143 | 22 } |
slaxemulator@10143 | 23 |
slaxemulator@10143 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10143 | 25 genpkg_rules() |
slaxemulator@10143 | 26 { |
slaxemulator@13071 | 27 cp -a $install/usr $fs |
slaxemulator@10143 | 28 } |