wok-next annotate activeresource/receipt @ rev 14771
gadmin-*: typos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 29 17:44:06 2013 +0200 (2013-06-29) |
parents | e0fa54cee561 |
children | 2a5cc8208d36 |
rev | line source |
---|---|
slaxemulator@10144 | 1 # SliTaz package receipt. |
slaxemulator@10144 | 2 |
slaxemulator@10144 | 3 PACKAGE="activeresource" |
slaxemulator@13074 | 4 VERSION="3.2.6" |
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@13074 | 25 cp -a $install/usr $fs |
slaxemulator@10144 | 26 } |