wok annotate activeresource/receipt @ rev 11271
Add: adobe-flash (11.0.1.152)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Nov 10 01:24:09 2011 +0000 (2011-11-10) |
parents | 636c2d9c4ff1 |
children | f97c38c37a15 |
rev | line source |
---|---|
slaxemulator@10144 | 1 # SliTaz package receipt. |
slaxemulator@10144 | 2 |
slaxemulator@10144 | 3 PACKAGE="activeresource" |
slaxemulator@11177 | 4 VERSION="3.1.1" |
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 } |