wok annotate daemon_controller/receipt @ rev 17389
ncurses: depends on libtinfo & libtic
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 12:56:33 2014 +0100 (2014-11-27) |
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 } |