wok annotate multitail/receipt @ rev 24419

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 11 11:14:46 2022 +0000 (2022-02-11)
parents 17e313b5b9c1
children 241fb98cab1c
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
erjo@2904 19 # Rules to configure and make the package.
erjo@2904 20 compile_rules()
erjo@2904 21 {
pascal@17670 22 export LDFLAGS="$LDFLAGS -ltinfo"
erjo@2904 23 if [ ! -f done.tail_busybox.patch ]; then
slaxemulator@9700 24 patch -p1 -i $stuff/tail_busybox.patch && \
erjo@2904 25 touch done.tail_busybox.patch
erjo@2904 26 fi
Hans-G?nter@23203 27 patch --strip=0 --input=$stuff/patches/mt.h-6.5.0
erjo@2904 28 make
erjo@2904 29 }
erjo@2904 30
erjo@2904 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2904 32 genpkg_rules()
erjo@2904 33 {
Hans-G?nter@23203 34 mkdir -p $fs/usr/bin
Hans-G?nter@23203 35 mkdir -p $fs/etc
Hans-G?nter@23203 36 cp -a $src/$PACKAGE $fs/usr/bin
Hans-G?nter@23203 37 cp -a $src/$PACKAGE.conf $fs/etc
erjo@2904 38
Hans-G?nter@23203 39 # Set minimum configuration.
Hans-G?nter@23203 40 sed -i 's/check_mail:5/check_mail:0/' \
Hans-G?nter@23203 41 $fs/etc/multitail.conf
erjo@2904 42 }