wok-6.x annotate file-tail/receipt @ rev 10785
geany: fix icon for desktop file (*.desktop use icon in /usr/share/pixmaps, tig pkg was ok before, dont modify it anymore!!!)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 14:00:48 2011 +0200 (2011-06-01) |
parents | |
children | 051931e905b0 |
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" |
slaxemulator@10141 | 8 DEPENDS="ruby spruz" |
slaxemulator@10141 | 9 BUILD_DEPENDS="$DEPENDS ruby-dev" |
slaxemulator@10141 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10141 | 11 WEB_SITE="http://rubygems.org/gems/file-tail" |
slaxemulator@10141 | 12 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10141 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10141 | 14 |
slaxemulator@10141 | 15 # Rules to configure and make the package. |
slaxemulator@10141 | 16 compile_rules() |
slaxemulator@10141 | 17 { |
slaxemulator@10141 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10141 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10141 | 20 } |
slaxemulator@10141 | 21 |
slaxemulator@10141 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10141 | 23 genpkg_rules() |
slaxemulator@10141 | 24 { |
slaxemulator@10141 | 25 cp -a $_pkg/usr $fs |
slaxemulator@10141 | 26 } |