wok-next annotate file-tail/receipt @ rev 20559
rrdtool: syntax error
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 17:41:33 2018 +0300 (2018-04-07) |
parents | 8873e661671a |
children | d958fec46c9f |
rev | line source |
---|---|
slaxemulator@10141 | 1 # SliTaz package receipt. |
slaxemulator@10141 | 2 |
slaxemulator@10141 | 3 PACKAGE="file-tail" |
slaxemulator@10141 | 4 VERSION="1.0.5" |
slaxemulator@10141 | 5 CATEGORY="development" |
slaxemulator@10141 | 6 SHORT_DESC="Library to tail files in Ruby" |
slaxemulator@10141 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15610 | 8 LICENSE="GPL2" |
slaxemulator@10141 | 9 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10141 | 10 WEB_SITE="http://rubygems.org/gems/file-tail" |
slaxemulator@10141 | 11 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10141 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@10141 | 13 |
pascal@15610 | 14 DEPENDS="ruby spruz" |
pascal@15610 | 15 BUILD_DEPENDS="$DEPENDS ruby-dev" |
pascal@15610 | 16 |
slaxemulator@10141 | 17 # Rules to configure and make the package. |
slaxemulator@10141 | 18 compile_rules() |
slaxemulator@10141 | 19 { |
slaxemulator@10141 | 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
al@20513 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SRC/$TARBALL |
slaxemulator@10141 | 22 } |
slaxemulator@10141 | 23 |
slaxemulator@10141 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10141 | 25 genpkg_rules() |
slaxemulator@10141 | 26 { |
pascal@15603 | 27 cp -a $install/usr $fs |
slaxemulator@10141 | 28 } |