wok annotate activerecord/receipt @ rev 13075
Up: activerecord to 3.2.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jun 25 08:37:06 2012 +0000 (2012-06-25) |
parents | 12035c3699d2 |
children | 2a5cc8208d36 |
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" |
slaxemulator@10145 | 8 DEPENDS="ruby activesupport" |
slaxemulator@10145 | 9 BUILD_DEPENDS="ruby-dev" |
slaxemulator@10145 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10145 | 11 WEB_SITE="http://rubygems.org/gems/activerecord" |
slaxemulator@10145 | 12 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10145 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10145 | 14 |
slaxemulator@10145 | 15 # Rules to configure and make the package. |
slaxemulator@10145 | 16 compile_rules() |
slaxemulator@10145 | 17 { |
slaxemulator@10145 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10145 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10145 | 20 } |
slaxemulator@10145 | 21 |
slaxemulator@10145 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10145 | 23 genpkg_rules() |
slaxemulator@10145 | 24 { |
slaxemulator@13075 | 25 cp -a $install/usr $fs |
slaxemulator@10145 | 26 } |