wok-6.x view file-tail/receipt @ rev 23230
updated ncmpc (0.21 -> 0.37)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 24 08:38:49 2020 +0100 (2020-03-24) |
parents | 0f34431339cc |
children | bfabe25c21ff |
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 -rrubygems -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 }