wok-stable annotate daemon_controller/receipt @ rev 11623
amule, emelfm2, fpm2, gcolor2, gftp, grisbi; grsync, htop, hydrogen, kino, lingot, listpatron, lostirc, mitter, mplayer*, notecase, obconf, osmo, sakura, sylpheed, tilda, transmission, xine-ui, xsane: install .desktop file
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 24 22:51:41 2012 +0100 (2012-01-24) |
parents | |
children |
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 } |