wok-current annotate activesupport/receipt @ rev 10623
qemu: back to a working version (0.12.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 21:20:55 2011 +0200 (2011-05-26) |
parents | |
children | 25876cc3b5fc |
rev | line source |
---|---|
slaxemulator@10143 | 1 # SliTaz package receipt. |
slaxemulator@10143 | 2 |
slaxemulator@10143 | 3 PACKAGE="activesupport" |
slaxemulator@10143 | 4 VERSION="3.0.7" |
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 } |