# Template file for 'multitail'
pkgname=multitail
version=6.4.1
revision=2
build_style=gnu-makefile
CFLAGS='-funsigned-char -DLinux -DVERSION=\"\$(VERSION)\" -DCONFIG_FILE=\"\$(CONFIG_FILE)\" -DUTF8_SUPPORT'
LDFLAGS='-lpanelw -lncursesw -lutil -lm'
makedepends="ncurses-devel"
short_desc="Tail multiple logfiles"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.vanheusden.com/multitail"
distfiles="${homepage}/${pkgname}-${version}.tgz"
checksum=8a6baecf3537c791f70645f3613bfea0c91a22040f2531bfe03b6d0cdd112134

post_extract() {
	sed -i 's,<ncursesw/,<,g' mt.h
}

do_install() {
	vbin multitail
	vman multitail.1
	vconf multitail.conf
}
