wok annotate activesupport/receipt @ rev 11299
Up: tinyproxy (1.8.3)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Nov 12 22:09:34 2011 +0000 (2011-11-12) |
parents | 41ef999b602b |
children | caa5bb26d33a |
rev | line source |
---|---|
slaxemulator@10143 | 1 # SliTaz package receipt. |
slaxemulator@10143 | 2 |
slaxemulator@10143 | 3 PACKAGE="activesupport" |
slaxemulator@11176 | 4 VERSION="3.1.1" |
slaxemulator@10143 | 5 CATEGORY="system-tools" |
slaxemulator@10143 | 6 SHORT_DESC="Database tables mapping to Ruby classes" |
slaxemulator@10143 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@10143 | 8 DEPENDS="ruby" |
slaxemulator@10143 | 9 BUILD_DEPENDS="ruby-dev" |
slaxemulator@10143 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10143 | 11 WEB_SITE="http://rubygems.org/gems/activesupport" |
slaxemulator@10143 | 12 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10143 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10143 | 14 |
slaxemulator@10143 | 15 # Rules to configure and make the package. |
slaxemulator@10143 | 16 compile_rules() |
slaxemulator@10143 | 17 { |
slaxemulator@10143 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10143 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10143 | 20 } |
slaxemulator@10143 | 21 |
slaxemulator@10143 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10143 | 23 genpkg_rules() |
slaxemulator@10143 | 24 { |
slaxemulator@10143 | 25 cp -a $_pkg/usr $fs |
slaxemulator@10143 | 26 } |