wok-next annotate activerecord/receipt @ rev 20607
perdition: up 2.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 15:57:59 2018 +0300 (2018-04-19) |
parents | 2a5cc8208d36 |
children | d958fec46c9f |
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')" |
al@20513 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SRC/$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 } |