wok-next annotate actionmailer/receipt @ rev 12023
pcmanfm: new icon (Thanks moulefrite)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 06 20:38:12 2012 +0100 (2012-03-06) |
parents | d754c582d697 |
children | 18ec0adeef03 |
rev | line source |
---|---|
slaxemulator@10148 | 1 # SliTaz package receipt. |
slaxemulator@10148 | 2 |
slaxemulator@10148 | 3 PACKAGE="actionmailer" |
slaxemulator@11180 | 4 VERSION="3.1.1" |
slaxemulator@10148 | 5 CATEGORY="system-tools" |
slaxemulator@10148 | 6 SHORT_DESC="Simple, battle-tested conventions for building and testing MVC web applications." |
slaxemulator@10148 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@10148 | 8 DEPENDS="ruby actionpack" |
slaxemulator@10148 | 9 BUILD_DEPENDS="ruby-dev" |
slaxemulator@10148 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10148 | 11 WEB_SITE="http://rubygems.org/gems/actionmailer" |
slaxemulator@10148 | 12 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10148 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10148 | 14 |
slaxemulator@10148 | 15 # Rules to configure and make the package. |
slaxemulator@10148 | 16 compile_rules() |
slaxemulator@10148 | 17 { |
slaxemulator@10148 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10148 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10148 | 20 } |
slaxemulator@10148 | 21 |
slaxemulator@10148 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10148 | 23 genpkg_rules() |
slaxemulator@10148 | 24 { |
slaxemulator@10148 | 25 cp -a $_pkg/usr $fs |
slaxemulator@10148 | 26 } |