wok annotate actionpack/receipt @ rev 18290
Up: tazpkg(834)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 14 16:57:11 2015 +0300 (2015-08-14) |
parents | 436f29660d5c |
children | bdd5dd52ad52 |
rev | line source |
---|---|
slaxemulator@10146 | 1 # SliTaz package receipt. |
slaxemulator@10146 | 2 |
slaxemulator@10146 | 3 PACKAGE="actionpack" |
slaxemulator@13072 | 4 VERSION="3.2.6" |
slaxemulator@10146 | 5 CATEGORY="system-tools" |
slaxemulator@10146 | 6 SHORT_DESC="Simple, battle-tested conventions for building and testing MVC web applications." |
slaxemulator@10146 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
slaxemulator@10146 | 9 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10146 | 10 WEB_SITE="http://rubygems.org/gems/actionpack" |
slaxemulator@10146 | 11 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10146 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@10146 | 13 |
pascal@15379 | 14 DEPENDS="ruby activesupport" |
pascal@15379 | 15 BUILD_DEPENDS="ruby-dev" |
pascal@15379 | 16 |
slaxemulator@10146 | 17 # Rules to configure and make the package. |
slaxemulator@10146 | 18 compile_rules() |
slaxemulator@10146 | 19 { |
slaxemulator@10146 | 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10146 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10146 | 22 } |
slaxemulator@10146 | 23 |
slaxemulator@10146 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10146 | 25 genpkg_rules() |
slaxemulator@10146 | 26 { |
slaxemulator@13072 | 27 cp -a $install/usr $fs |
slaxemulator@10146 | 28 } |