void-packages/srcpkgs/multitail/template

26 lines
722 B
Bash

# Template file for 'multitail'
pkgname=multitail
version=6.4.2
revision=2
build_style=gnu-makefile
makedepends="ncurses-devel"
checkdepends="clang-analyzer cppcheck perl"
short_desc="Tail multiple logfiles"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="http://www.vanheusden.com/multitail"
distfiles="${homepage}/${pkgname}-${version}.tgz"
checksum=af1d5458a78ad3b747c5eeb135b19bdca281ce414cefdc6ea0cff6d913caa1fd
LDFLAGS='-lpanelw -lncursesw -lutil -lm'
CFLAGS='-funsigned-char -DLinux -DVERSION=\"\$(VERSION)\" -DCONFIG_FILE=\"\$(CONFIG_FILE)\" -DUTF8_SUPPORT'
post_extract() {
sed -i 's,<ncursesw/,<,g' mt.h
}
do_install() {
vbin multitail
vman multitail.1
vconf multitail.conf
}