wok annotate file-tail/receipt @ rev 24864

updated lsof (4.93.2 -> 4.94.0)
author Hans-G?nter Theisgen
date Wed Mar 30 06:22:51 2022 +0100 (2022-03-30)
parents a0dccc5d133d
children
rev   line source
slaxemulator@10141 1 # SliTaz package receipt.
slaxemulator@10141 2
slaxemulator@10141 3 PACKAGE="file-tail"
Hans-G?nter@21294 4 VERSION="1.2.0"
slaxemulator@10141 5 CATEGORY="development"
Hans-G?nter@21294 6 SHORT_DESC="Library to tail files in Ruby."
slaxemulator@10141 7 MAINTAINER="erjo@slitaz.org"
pascal@15610 8 LICENSE="GPL2"
Hans-G?nter@21294 9 WEB_SITE="https://rubygems.org/gems/file-tail"
Hans-G?nter@21294 10
slaxemulator@10141 11 TARBALL="$PACKAGE-$VERSION.gem"
pascal@20669 12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
Hans-G?nter@21294 13
slaxemulator@10141 14 COOK_OPT="!repack_src !unpack"
pascal@15610 15 DEPENDS="ruby spruz"
pascal@15610 16 BUILD_DEPENDS="$DEPENDS ruby-dev"
pascal@15610 17
pascal@24439 18 # What is the latest version available today?
pascal@24439 19 current_version()
pascal@24439 20 {
pascal@24439 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24439 22 sed '/\/versions\//!d;s|.*versions/||;s|["/].*||;q'
pascal@24439 23 }
pascal@24439 24
slaxemulator@10141 25 # Rules to configure and make the package.
slaxemulator@10141 26 compile_rules()
slaxemulator@10141 27 {
pascal@22170 28 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
Hans-G?nter@21294 29 gem install \
Hans-G?nter@21294 30 --ignore-dependencies \
Hans-G?nter@21294 31 -i "$DESTDIR/$_gemdir" \
Hans-G?nter@21294 32 $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10141 33 }
slaxemulator@10141 34
slaxemulator@10141 35 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10141 36 genpkg_rules()
slaxemulator@10141 37 {
pascal@15603 38 cp -a $install/usr $fs
slaxemulator@10141 39 }