wok annotate daemon_controller/receipt @ rev 24011
mosh: create /usr/share/terminfo/x/xterm-256color link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 05 17:16:12 2021 +0000 (2021-02-05) |
parents | 19141648d795 |
children | bfabe25c21ff |
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 |
slaxemulator@10253 | 19 # Rules to configure and make the package. |
slaxemulator@10253 | 20 compile_rules() |
slaxemulator@10253 | 21 { |
pascal@22171 | 22 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
Hans-G?nter@22626 | 23 gem install \ |
Hans-G?nter@22626 | 24 --ignore-dependencies \ |
Hans-G?nter@22626 | 25 -i "$DESTDIR/$_gemdir" \ |
Hans-G?nter@22626 | 26 $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10253 | 27 } |
slaxemulator@10253 | 28 |
slaxemulator@10253 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10253 | 30 genpkg_rules() |
slaxemulator@10253 | 31 { |
Hans-G?nter@22626 | 32 cp -a $install/usr $fs |
Hans-G?nter@22626 | 33 } |