wok diff multitail/receipt @ rev 8199
imported patch toolchain/make.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | |
children | 02bbaa9d12ba |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/multitail/receipt Thu Jan 27 00:20:50 2011 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="multitail" 1.7 +VERSION="5.2.2" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Monitor multiple log files." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="ncurses" 1.12 +BUILD_DEPENDS="ncurses-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tgz" 1.14 +WEB_SITE="http://www.vanheusden.com/multitail/" 1.15 +WGET_URL="http://www.vanheusden.com/multitail/$TARBALL" 1.16 +CONFIG_FILES="/etc/multitail.conf" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + if [ ! -f done.tail_busybox.patch ]; then 1.23 + patch -p1 -i ../stuff/tail_busybox.patch && \ 1.24 + touch done.tail_busybox.patch 1.25 + fi 1.26 + make 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/bin $fs/etc 1.33 + cp -a $src/$PACKAGE $fs/usr/bin 1.34 + cp -a $src/$PACKAGE.conf $fs/etc 1.35 + strip -s $fs/usr/bin/* 1.36 + 1.37 + # Set minimum config. 1.38 + sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf 1.39 +} 1.40 +