wok view multitail/receipt @ rev 25170
updated python, python-dev and python-idle (2.7.17 -> 2.7.18)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 15:56:11 2022 +0100 (2022-07-01) |
parents | 241fb98cab1c |
children |
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="http://distcache.freebsd.org/ports-distfiles/$TARBALL"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="ncursesw-dev"
17 CONFIG_FILES="/etc/multitail.conf"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/halturin/multitail/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -ltinfo"
30 if [ ! -f done.tail_busybox.patch ]; then
31 patch -p1 -i $stuff/tail_busybox.patch && \
32 touch done.tail_busybox.patch
33 fi
34 patch --strip=0 --input=$stuff/patches/mt.h-6.5.0
35 make
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 mkdir -p $fs/etc
43 cp -a $src/$PACKAGE $fs/usr/bin
44 cp -a $src/$PACKAGE.conf $fs/etc
46 # Set minimum configuration.
47 sed -i 's/check_mail:5/check_mail:0/' \
48 $fs/etc/multitail.conf
49 }