wok-6.x annotate actionmailer/receipt @ rev 13237
Move from undigest: phpsysinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:39:12 2012 +0200 (2012-08-14) |
parents | e06e4a3d032c |
children | 2a5cc8208d36 |
rev | line source |
---|---|
slaxemulator@10148 | 1 # SliTaz package receipt. |
slaxemulator@10148 | 2 |
slaxemulator@10148 | 3 PACKAGE="actionmailer" |
slaxemulator@13073 | 4 VERSION="3.2.6" |
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@13073 | 25 cp -a $install/usr $fs |
slaxemulator@10148 | 26 } |