wok view multitail/receipt @ rev 23356

updated perl-ipc-run (0.92 -> 20180523.0)
author Hans-G?nter Theisgen
date Tue Mar 31 10:11:11 2020 +0100 (2020-03-31)
parents 17e313b5b9c1
children 241fb98cab1c
line source
1 # SliTaz package receipt.
3 PACKAGE="multitail"
4 VERSION="6.5.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Monitor multiple log files."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.vanheusden.com/multitail/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="ncursesw-dev"
17 CONFIG_FILES="/etc/multitail.conf"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export LDFLAGS="$LDFLAGS -ltinfo"
23 if [ ! -f done.tail_busybox.patch ]; then
24 patch -p1 -i $stuff/tail_busybox.patch && \
25 touch done.tail_busybox.patch
26 fi
27 patch --strip=0 --input=$stuff/patches/mt.h-6.5.0
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 mkdir -p $fs/etc
36 cp -a $src/$PACKAGE $fs/usr/bin
37 cp -a $src/$PACKAGE.conf $fs/etc
39 # Set minimum configuration.
40 sed -i 's/check_mail:5/check_mail:0/' \
41 $fs/etc/multitail.conf
42 }