wok-6.x annotate actionmailer/receipt @ rev 10148
Add actionmailer.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 18:05:03 2011 +0000 (2011-05-20) |
parents | |
children | e06e4a3d032c |
rev | line source |
---|---|
slaxemulator@10148 | 1 # SliTaz package receipt. |
slaxemulator@10148 | 2 |
slaxemulator@10148 | 3 PACKAGE="actionmailer" |
slaxemulator@10148 | 4 VERSION="3.0.7" |
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 } |