wok-current annotate 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 |
rev | line source |
---|---|
erjo@2904 | 1 # SliTaz package receipt. |
erjo@2904 | 2 |
erjo@2904 | 3 PACKAGE="multitail" |
slaxemulator@13265 | 4 VERSION="5.2.9" |
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" |
erjo@2904 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
erjo@2904 | 10 WEB_SITE="http://www.vanheusden.com/multitail/" |
erjo@2904 | 11 WGET_URL="http://www.vanheusden.com/multitail/$TARBALL" |
erjo@2904 | 12 CONFIG_FILES="/etc/multitail.conf" |
erjo@2904 | 13 |
pascal@15583 | 14 DEPENDS="ncurses" |
pascal@15583 | 15 BUILD_DEPENDS="ncurses-dev" |
pascal@15583 | 16 |
erjo@2904 | 17 # Rules to configure and make the package. |
erjo@2904 | 18 compile_rules() |
erjo@2904 | 19 { |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -ltinfo" |
erjo@2904 | 21 if [ ! -f done.tail_busybox.patch ]; then |
slaxemulator@9700 | 22 patch -p1 -i $stuff/tail_busybox.patch && \ |
erjo@2904 | 23 touch done.tail_busybox.patch |
erjo@2904 | 24 fi |
erjo@2904 | 25 make |
erjo@2904 | 26 } |
erjo@2904 | 27 |
erjo@2904 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2904 | 29 genpkg_rules() |
erjo@2904 | 30 { |
erjo@2904 | 31 mkdir -p $fs/usr/bin $fs/etc |
erjo@2904 | 32 cp -a $src/$PACKAGE $fs/usr/bin |
erjo@2904 | 33 cp -a $src/$PACKAGE.conf $fs/etc |
erjo@2904 | 34 |
erjo@2904 | 35 # Set minimum config. |
erjo@2904 | 36 sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf |
erjo@2904 | 37 } |