wok-current annotate multitail/receipt @ rev 10002
tazdrop: fix version (use slitaz-tools one)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 19 01:36:49 2011 +0200 (2011-05-19) |
parents | 02bbaa9d12ba |
children | 4372655baf78 |
rev | line source |
---|---|
erjo@2904 | 1 # SliTaz package receipt. |
erjo@2904 | 2 |
erjo@2904 | 3 PACKAGE="multitail" |
erjo@2904 | 4 VERSION="5.2.2" |
erjo@2904 | 5 CATEGORY="system-tools" |
erjo@2904 | 6 SHORT_DESC="Monitor multiple log files." |
erjo@2904 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@2904 | 8 DEPENDS="ncurses" |
erjo@2904 | 9 BUILD_DEPENDS="ncurses-dev" |
erjo@2904 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
erjo@2904 | 11 WEB_SITE="http://www.vanheusden.com/multitail/" |
erjo@2904 | 12 WGET_URL="http://www.vanheusden.com/multitail/$TARBALL" |
erjo@2904 | 13 CONFIG_FILES="/etc/multitail.conf" |
erjo@2904 | 14 |
erjo@2904 | 15 # Rules to configure and make the package. |
erjo@2904 | 16 compile_rules() |
erjo@2904 | 17 { |
erjo@2904 | 18 cd $src |
erjo@2904 | 19 if [ ! -f done.tail_busybox.patch ]; then |
slaxemulator@9700 | 20 patch -p1 -i $stuff/tail_busybox.patch && \ |
erjo@2904 | 21 touch done.tail_busybox.patch |
erjo@2904 | 22 fi |
erjo@2904 | 23 make |
erjo@2904 | 24 } |
erjo@2904 | 25 |
erjo@2904 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2904 | 27 genpkg_rules() |
erjo@2904 | 28 { |
erjo@2904 | 29 mkdir -p $fs/usr/bin $fs/etc |
erjo@2904 | 30 cp -a $src/$PACKAGE $fs/usr/bin |
erjo@2904 | 31 cp -a $src/$PACKAGE.conf $fs/etc |
erjo@2904 | 32 |
erjo@2904 | 33 # Set minimum config. |
erjo@2904 | 34 sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf |
erjo@2904 | 35 } |
erjo@2904 | 36 |