wok-6.x annotate activesupport/receipt @ rev 11468
xfe: add intltool to build_depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 17 11:45:19 2011 +0100 (2011-12-17) |
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 } |