wok-6.x view multitail/receipt @ rev 24593
updated geos and geos-dev (3.8.0 -> 3.10.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 13:55:15 2022 +0100 (2022-03-01) |
parents | 4b36ab6df5c7 |
children | 00e3b45c063b |
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 # 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 }