wok-current view multitail/receipt @ rev 18377

v4l4j: Update wget_url and (b)deps
author Yuri Pourre <yuripourre@gmail.com>
date Thu Sep 17 10:51:35 2015 -0300 (2015-09-17)
parents bb009a6ef036
children 4b36ab6df5c7
line source
1 # SliTaz package receipt.
3 PACKAGE="multitail"
4 VERSION="5.2.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Monitor multiple log files."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://www.vanheusden.com/multitail/"
11 WGET_URL="http://www.vanheusden.com/multitail/$TARBALL"
12 CONFIG_FILES="/etc/multitail.conf"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 if [ ! -f done.tail_busybox.patch ]; then
22 patch -p1 -i $stuff/tail_busybox.patch && \
23 touch done.tail_busybox.patch
24 fi
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/etc
32 cp -a $src/$PACKAGE $fs/usr/bin
33 cp -a $src/$PACKAGE.conf $fs/etc
35 # Set minimum config.
36 sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf
37 }