wok-next view file-tail/receipt @ rev 20645

Up libjpeg-turbo (1.5.3), libpng16 (1.6.34), libraw (0.18.7), shared-mime-info (1.9), tree (1.7.0), xapian (1.4.5); add time.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 01 23:19:32 2018 +0300 (2018-05-01)
parents 8873e661671a
children d958fec46c9f
line source
1 # SliTaz package receipt.
3 PACKAGE="file-tail"
4 VERSION="1.0.5"
5 CATEGORY="development"
6 SHORT_DESC="Library to tail files in Ruby"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.gem"
10 WEB_SITE="http://rubygems.org/gems/file-tail"
11 WGET_URL="http://rubygems.org/downloads/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 DEPENDS="ruby spruz"
15 BUILD_DEPENDS="$DEPENDS ruby-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SRC/$TARBALL
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }