wok-next annotate daemon_controller/receipt @ rev 12753

dosbox: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 13:42:55 2012 +0200 (2012-05-11)
parents
children eb8067417980
rev   line source
slaxemulator@10253 1 # SliTaz package receipt.
slaxemulator@10253 2
slaxemulator@10253 3 PACKAGE="daemon_controller"
slaxemulator@10253 4 VERSION="0.2.6"
slaxemulator@10253 5 CATEGORY="development"
slaxemulator@10253 6 SHORT_DESC="Daemon management for Ruby"
slaxemulator@10253 7 MAINTAINER="erjo@slitaz.org"
slaxemulator@10253 8 DEPENDS="ruby"
slaxemulator@10253 9 BUILD_DEPENDS="ruby-dev"
slaxemulator@10253 10 TARBALL="$PACKAGE-$VERSION.gem"
slaxemulator@10253 11 WEB_SITE="http://rubygems.org/gems/daemon_controller"
slaxemulator@10253 12 WGET_URL="http://rubygems.org/downloads/$TARBALL"
slaxemulator@10253 13 COOK_OPT="!repack_src !unpack"
slaxemulator@10253 14
slaxemulator@10253 15 # Rules to configure and make the package.
slaxemulator@10253 16 compile_rules()
slaxemulator@10253 17 {
slaxemulator@10253 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
slaxemulator@10253 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10253 20 }
slaxemulator@10253 21
slaxemulator@10253 22 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10253 23 genpkg_rules()
slaxemulator@10253 24 {
slaxemulator@10253 25 cp -a $_pkg/usr $fs
slaxemulator@10253 26 }