wok annotate multitail/receipt @ rev 24868

updated lxc and lxc-dev (3.2.1 -> 4.0.12)
author Hans-G?nter Theisgen
date Wed Mar 30 17:49:17 2022 +0100 (2022-03-30)
parents 4b36ab6df5c7
children 00e3b45c063b
rev   line source
erjo@2904 1 # SliTaz package receipt.
erjo@2904 2
erjo@2904 3 PACKAGE="multitail"
Hans-G?nter@23203 4 VERSION="6.5.0"
erjo@2904 5 CATEGORY="system-tools"
erjo@2904 6 SHORT_DESC="Monitor multiple log files."
erjo@2904 7 MAINTAINER="erjo@slitaz.org"
pascal@15583 8 LICENSE="GPL2"
Hans-G?nter@23203 9 WEB_SITE="https://www.vanheusden.com/multitail/"
Hans-G?nter@23203 10
erjo@2904 11 TARBALL="$PACKAGE-$VERSION.tgz"
Hans-G?nter@23203 12 WGET_URL="${WEB_SITE}$TARBALL"
Hans-G?nter@23203 13
Hans-G?nter@23203 14 DEPENDS="ncursesw"
Hans-G?nter@23203 15 BUILD_DEPENDS="ncursesw-dev"
Hans-G?nter@23203 16
erjo@2904 17 CONFIG_FILES="/etc/multitail.conf"
erjo@2904 18
pascal@24453 19 # What is the latest version available today?
pascal@24453 20 current_version()
pascal@24453 21 {
pascal@24453 22 wget -O - https://github.com/halturin/multitail/tags 2>/dev/null | \
pascal@24453 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24453 24 }
pascal@24453 25
erjo@2904 26 # Rules to configure and make the package.
erjo@2904 27 compile_rules()
erjo@2904 28 {
pascal@17670 29 export LDFLAGS="$LDFLAGS -ltinfo"
erjo@2904 30 if [ ! -f done.tail_busybox.patch ]; then
slaxemulator@9700 31 patch -p1 -i $stuff/tail_busybox.patch && \
erjo@2904 32 touch done.tail_busybox.patch
erjo@2904 33 fi
Hans-G?nter@23203 34 patch --strip=0 --input=$stuff/patches/mt.h-6.5.0
erjo@2904 35 make
erjo@2904 36 }
erjo@2904 37
erjo@2904 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2904 39 genpkg_rules()
erjo@2904 40 {
Hans-G?nter@23203 41 mkdir -p $fs/usr/bin
Hans-G?nter@23203 42 mkdir -p $fs/etc
Hans-G?nter@23203 43 cp -a $src/$PACKAGE $fs/usr/bin
Hans-G?nter@23203 44 cp -a $src/$PACKAGE.conf $fs/etc
erjo@2904 45
Hans-G?nter@23203 46 # Set minimum configuration.
Hans-G?nter@23203 47 sed -i 's/check_mail:5/check_mail:0/' \
Hans-G?nter@23203 48 $fs/etc/multitail.conf
erjo@2904 49 }