wok-current annotate daemon_controller/receipt @ rev 16437

Add svkbd-fr (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 18 12:03:42 2014 +0000 (2014-04-18)
parents 3b1922f29fc3
children a78610b2eb47
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"
pascal@15579 8 LICENSE="MIT"
slaxemulator@10253 9 TARBALL="$PACKAGE-$VERSION.gem"
slaxemulator@10253 10 WEB_SITE="http://rubygems.org/gems/daemon_controller"
slaxemulator@10253 11 WGET_URL="http://rubygems.org/downloads/$TARBALL"
slaxemulator@10253 12 COOK_OPT="!repack_src !unpack"
slaxemulator@10253 13
pascal@15579 14 DEPENDS="ruby"
pascal@15579 15 BUILD_DEPENDS="ruby-dev"
pascal@15579 16
slaxemulator@10253 17 # Rules to configure and make the package.
slaxemulator@10253 18 compile_rules()
slaxemulator@10253 19 {
slaxemulator@10253 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
slaxemulator@10253 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10253 22 }
slaxemulator@10253 23
slaxemulator@10253 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10253 25 genpkg_rules()
slaxemulator@10253 26 {
pascal@15579 27 cp -a $install/usr $fs
slaxemulator@10253 28 }