wok-6.x view file-tail/receipt @ rev 23988
syslinux: iso2exe/init scan all partitions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 03 09:39:27 2020 +0000 (2020-12-03) |
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 }