wok annotate file-tail/receipt @ rev 21666
updated pciutils and pciutils-dev (3.2.1 -> 3.6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 01 14:00:45 2019 +0100 (2019-06-01) |
parents | a78610b2eb47 |
children | a0dccc5d133d |
rev | line source |
---|---|
slaxemulator@10141 | 1 # SliTaz package receipt. |
slaxemulator@10141 | 2 |
slaxemulator@10141 | 3 PACKAGE="file-tail" |
Hans-G?nter@21294 | 4 VERSION="1.2.0" |
slaxemulator@10141 | 5 CATEGORY="development" |
Hans-G?nter@21294 | 6 SHORT_DESC="Library to tail files in Ruby." |
slaxemulator@10141 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15610 | 8 LICENSE="GPL2" |
Hans-G?nter@21294 | 9 WEB_SITE="https://rubygems.org/gems/file-tail" |
Hans-G?nter@21294 | 10 |
slaxemulator@10141 | 11 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20669 | 12 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
Hans-G?nter@21294 | 13 |
slaxemulator@10141 | 14 COOK_OPT="!repack_src !unpack" |
pascal@15610 | 15 DEPENDS="ruby spruz" |
pascal@15610 | 16 BUILD_DEPENDS="$DEPENDS ruby-dev" |
pascal@15610 | 17 |
slaxemulator@10141 | 18 # Rules to configure and make the package. |
slaxemulator@10141 | 19 compile_rules() |
slaxemulator@10141 | 20 { |
slaxemulator@10141 | 21 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
Hans-G?nter@21294 | 22 gem install \ |
Hans-G?nter@21294 | 23 --ignore-dependencies \ |
Hans-G?nter@21294 | 24 -i "$DESTDIR/$_gemdir" \ |
Hans-G?nter@21294 | 25 $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10141 | 26 } |
slaxemulator@10141 | 27 |
slaxemulator@10141 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10141 | 29 genpkg_rules() |
slaxemulator@10141 | 30 { |
pascal@15603 | 31 cp -a $install/usr $fs |
slaxemulator@10141 | 32 } |