wok-6.x rev 10253

Add daemon_controller.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 03:56:29 2011 +0000 (2011-05-21)
parents 816423d2c058
children a3fba71a4b3d
files daemon_controller/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/daemon_controller/receipt	Sat May 21 03:56:29 2011 +0000
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="daemon_controller"
     1.7 +VERSION="0.2.6"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Daemon management for Ruby"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="ruby"
    1.12 +BUILD_DEPENDS="ruby-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.gem"
    1.14 +WEB_SITE="http://rubygems.org/gems/daemon_controller"
    1.15 +WGET_URL="http://rubygems.org/downloads/$TARBALL"
    1.16 +COOK_OPT="!repack_src !unpack"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
    1.22 +	gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	cp -a $_pkg/usr $fs
    1.29 +}
    1.30 \ No newline at end of file