wok-6.x annotate file-tail/receipt @ rev 22273
updated xorg-xf86-video-intel (2.21.9 -> 2.99.917)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 11:13:50 2019 +0100 (2019-11-13) |
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 } |