wok view file-tail/receipt @ rev 21294

updated file-tail (1.0.5 -> 1.2.0)
author Hans-G?nter Theisgen
date Tue Apr 16 20:48:28 2019 +0100 (2019-04-16)
parents a78610b2eb47
children a0dccc5d133d
line source
1 # SliTaz package receipt.
3 PACKAGE="file-tail"
4 VERSION="1.2.0"
5 CATEGORY="development"
6 SHORT_DESC="Library to tail files in Ruby."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://rubygems.org/gems/file-tail"
11 TARBALL="$PACKAGE-$VERSION.gem"
12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
14 COOK_OPT="!repack_src !unpack"
15 DEPENDS="ruby spruz"
16 BUILD_DEPENDS="$DEPENDS ruby-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
22 gem install \
23 --ignore-dependencies \
24 -i "$DESTDIR/$_gemdir" \
25 $SOURCES_REPOSITORY/$TARBALL
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }