wok-6.x view multitail/receipt @ rev 5247
Up: gcc (4.4.3) Part of new toolchain
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 11 19:28:59 2010 +0200 (2010-04-11) |
parents | |
children | 02bbaa9d12ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="multitail"
4 VERSION="5.2.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Monitor multiple log files."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://www.vanheusden.com/multitail/"
12 WGET_URL="http://www.vanheusden.com/multitail/$TARBALL"
13 CONFIG_FILES="/etc/multitail.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 if [ ! -f done.tail_busybox.patch ]; then
20 patch -p1 -i ../stuff/tail_busybox.patch && \
21 touch done.tail_busybox.patch
22 fi
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/etc
30 cp -a $src/$PACKAGE $fs/usr/bin
31 cp -a $src/$PACKAGE.conf $fs/etc
32 strip -s $fs/usr/bin/*
34 # Set minimum config.
35 sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf
36 }