wok view daemon_controller/receipt @ rev 24594

updated getmail (5.14 -> 5.16)
author Hans-G?nter Theisgen
date Tue Mar 01 15:05:47 2022 +0100 (2022-03-01)
parents 751f57d78a3d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="daemon_controller"
4 VERSION="1.2.0"
5 CATEGORY="development"
6 SHORT_DESC="Daemon management for Ruby."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://rubygems.org/gems/daemon_controller"
11 TARBALL="$PACKAGE-$VERSION.gem"
12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
14 DEPENDS="ruby"
15 BUILD_DEPENDS="ruby-dev"
17 COOK_OPT="!repack_src !unpack"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/\/versions\//!d;s|.*versions/||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
30 gem install \
31 --ignore-dependencies \
32 -i "$DESTDIR/$_gemdir" \
33 $SOURCES_REPOSITORY/$TARBALL
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 }