wok annotate actionpack/receipt @ rev 12007
arora: add desktop and icon from src tarball. add description file
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Mon Mar 05 13:59:52 2012 -0800 (2012-03-05) |
parents | 01fd16efa7e5 |
children | 436f29660d5c |
rev | line source |
---|---|
slaxemulator@10146 | 1 # SliTaz package receipt. |
slaxemulator@10146 | 2 |
slaxemulator@10146 | 3 PACKAGE="actionpack" |
slaxemulator@11179 | 4 VERSION="3.1.1" |
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" |
slaxemulator@10146 | 8 DEPENDS="ruby activesupport" |
slaxemulator@10146 | 9 BUILD_DEPENDS="ruby-dev" |
slaxemulator@10146 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10146 | 11 WEB_SITE="http://rubygems.org/gems/actionpack" |
slaxemulator@10146 | 12 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10146 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10146 | 14 |
slaxemulator@10146 | 15 # Rules to configure and make the package. |
slaxemulator@10146 | 16 compile_rules() |
slaxemulator@10146 | 17 { |
slaxemulator@10146 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10146 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10146 | 20 } |
slaxemulator@10146 | 21 |
slaxemulator@10146 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10146 | 23 genpkg_rules() |
slaxemulator@10146 | 24 { |
slaxemulator@10146 | 25 cp -a $_pkg/usr $fs |
slaxemulator@10146 | 26 } |