wok-next annotate activerecord/receipt @ rev 10250
Up: phpmyadmin to 3.4.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 02:40:09 2011 +0000 (2011-05-21) |
parents | |
children | 12035c3699d2 |
rev | line source |
---|---|
slaxemulator@10145 | 1 # SliTaz package receipt. |
slaxemulator@10145 | 2 |
slaxemulator@10145 | 3 PACKAGE="activerecord" |
slaxemulator@10145 | 4 VERSION="3.0.7" |
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@10145 | 25 cp -a $_pkg/usr $fs |
slaxemulator@10145 | 26 } |