wok-current annotate activerecord/receipt @ rev 15415
Up: thunderbird-langpack-en_GB (17.0.9esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 03 21:52:36 2013 +0100 (2013-11-03) |
parents | 4f98879d2e82 |
children | bdd5dd52ad52 |
rev | line source |
---|---|
slaxemulator@10145 | 1 # SliTaz package receipt. |
slaxemulator@10145 | 2 |
slaxemulator@10145 | 3 PACKAGE="activerecord" |
slaxemulator@13075 | 4 VERSION="3.2.6" |
slaxemulator@10145 | 5 CATEGORY="system-tools" |
slaxemulator@10145 | 6 SHORT_DESC="Rich support for multibyte strings" |
slaxemulator@10145 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
slaxemulator@10145 | 9 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10145 | 10 WEB_SITE="http://rubygems.org/gems/activerecord" |
slaxemulator@10145 | 11 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10145 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@10145 | 13 |
pascal@15379 | 14 DEPENDS="ruby activesupport" |
pascal@15379 | 15 BUILD_DEPENDS="ruby-dev" |
pascal@15379 | 16 |
slaxemulator@10145 | 17 # Rules to configure and make the package. |
slaxemulator@10145 | 18 compile_rules() |
slaxemulator@10145 | 19 { |
slaxemulator@10145 | 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10145 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10145 | 22 } |
slaxemulator@10145 | 23 |
slaxemulator@10145 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10145 | 25 genpkg_rules() |
slaxemulator@10145 | 26 { |
slaxemulator@13075 | 27 cp -a $install/usr $fs |
slaxemulator@10145 | 28 } |