wok view multitail/receipt @ rev 24069

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 06 11:01:20 2021 +0000 (2021-07-06)
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 }