wok-current view file-tail/receipt @ rev 22474
Remove fastthread
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 27 22:10:40 2019 +0100 (2019-12-27) |
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 }