wok-6.x annotate daemon_controller/receipt @ rev 25467

Up gnumeric (1.12.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 03 08:28:51 2022 +0000 (2022-10-03)
parents 751f57d78a3d
children
rev   line source
slaxemulator@10253 1 # SliTaz package receipt.
slaxemulator@10253 2
slaxemulator@10253 3 PACKAGE="daemon_controller"
Hans-G?nter@22626 4 VERSION="1.2.0"
slaxemulator@10253 5 CATEGORY="development"
Hans-G?nter@22626 6 SHORT_DESC="Daemon management for Ruby."
slaxemulator@10253 7 MAINTAINER="erjo@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22626 9 WEB_SITE="https://rubygems.org/gems/daemon_controller"
Hans-G?nter@22626 10
slaxemulator@10253 11 TARBALL="$PACKAGE-$VERSION.gem"
pascal@20669 12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
slaxemulator@10253 13
pascal@15579 14 DEPENDS="ruby"
pascal@15579 15 BUILD_DEPENDS="ruby-dev"
pascal@15579 16
Hans-G?nter@22626 17 COOK_OPT="!repack_src !unpack"
Hans-G?nter@22626 18
pascal@24439 19 # What is the latest version available today?
pascal@24439 20 current_version()
pascal@24439 21 {
pascal@24439 22 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24439 23 sed '/\/versions\//!d;s|.*versions/||;s|".*||;q'
pascal@24439 24 }
pascal@24439 25
slaxemulator@10253 26 # Rules to configure and make the package.
slaxemulator@10253 27 compile_rules()
slaxemulator@10253 28 {
pascal@22171 29 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
Hans-G?nter@22626 30 gem install \
Hans-G?nter@22626 31 --ignore-dependencies \
Hans-G?nter@22626 32 -i "$DESTDIR/$_gemdir" \
Hans-G?nter@22626 33 $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10253 34 }
slaxemulator@10253 35
slaxemulator@10253 36 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10253 37 genpkg_rules()
slaxemulator@10253 38 {
Hans-G?nter@22626 39 cp -a $install/usr $fs
Hans-G?nter@22626 40 }