wok-6.x annotate file-tail/receipt @ rev 22672
updated ecm and ecm-extras again (1.03 -> 1.06)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 17 14:46:11 2020 +0100 (2020-01-17) |
parents | 0f34431339cc |
children | bfabe25c21ff |
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 { |
pascal@22170 | 21 local _gemdir="$(ruby -rrubygems -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 } |