wok-6.x annotate activerecord/receipt @ rev 11349

ypserv: improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Nov 29 01:25:59 2011 +0100 (2011-11-29)
parents ffa681f4f62f
children 4f98879d2e82
rev   line source
slaxemulator@10145 1 # SliTaz package receipt.
slaxemulator@10145 2
slaxemulator@10145 3 PACKAGE="activerecord"
slaxemulator@11178 4 VERSION="3.1.1"
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 }