wok annotate activeresource/receipt @ rev 10144
Add activeresource.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 17:50:44 2011 +0000 (2011-05-20) |
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 } |