wok-6.x view multitail/receipt @ rev 17670

Add missing -ltinfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 17 09:42:47 2015 +0100 (2015-02-17)
parents bb009a6ef036
children 4b36ab6df5c7
line source
1 # SliTaz package receipt.
3 PACKAGE="multitail"
4 VERSION="5.2.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Monitor multiple log files."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://www.vanheusden.com/multitail/"
11 WGET_URL="http://www.vanheusden.com/multitail/$TARBALL"
12 CONFIG_FILES="/etc/multitail.conf"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 if [ ! -f done.tail_busybox.patch ]; then
22 patch -p1 -i $stuff/tail_busybox.patch && \
23 touch done.tail_busybox.patch
24 fi
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/etc
32 cp -a $src/$PACKAGE $fs/usr/bin
33 cp -a $src/$PACKAGE.conf $fs/etc
35 # Set minimum config.
36 sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf
37 }