wok-current annotate activeresource/receipt @ rev 10560
prosody: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 21:50:10 2011 +0200 (2011-05-25) |
parents | |
children | e0fa54cee561 |
rev | line source |
---|---|
slaxemulator@10144 | 1 # SliTaz package receipt. |
slaxemulator@10144 | 2 |
slaxemulator@10144 | 3 PACKAGE="activeresource" |
slaxemulator@10144 | 4 VERSION="3.0.7" |
slaxemulator@10144 | 5 CATEGORY="development" |
slaxemulator@10144 | 6 SHORT_DESC="REST on Rails." |
slaxemulator@10144 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@10144 | 8 DEPENDS="ruby activesupport" |
slaxemulator@10144 | 9 BUILD_DEPENDS="ruby-dev" |
slaxemulator@10144 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10144 | 11 WEB_SITE="http://rubygems.org/gems/activeresource" |
slaxemulator@10144 | 12 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10144 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10144 | 14 |
slaxemulator@10144 | 15 # Rules to configure and make the package. |
slaxemulator@10144 | 16 compile_rules() |
slaxemulator@10144 | 17 { |
slaxemulator@10144 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10144 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10144 | 20 } |
slaxemulator@10144 | 21 |
slaxemulator@10144 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10144 | 23 genpkg_rules() |
slaxemulator@10144 | 24 { |
slaxemulator@10144 | 25 cp -a $_pkg/usr $fs |
slaxemulator@10144 | 26 } |