wok annotate activesupport/receipt @ rev 19503
Up firefox-official (50.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 17 16:45:54 2016 +0200 (2016-11-17) |
parents | caa5bb26d33a |
children | bdd5dd52ad52 |
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" |
slaxemulator@10143 | 10 WEB_SITE="http://rubygems.org/gems/activesupport" |
slaxemulator@10143 | 11 WGET_URL="http://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 } |