void-packages/srcpkgs/multitail/template
Christian Neukirchen a41cfdb686 multitail: fix build.
2015-05-12 21:40:54 +02:00

24 lines
685 B
Bash

# 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
}