void-packages/srcpkgs/lnav/template
2019-04-09 17:16:28 +02:00

28 lines
772 B
Bash

# Template file for 'lnav'
pkgname=lnav
version=0.8.5
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake"
makedepends="bzip2-devel gpm-devel libcurl-devel ncurses-devel pcre-devel
readline-devel sqlite-devel zlib-devel"
short_desc="Log file navigator"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause"
homepage="http://lnav.org/"
distfiles="https://github.com/tstack/${pkgname}/archive/v${version}.tar.gz"
checksum=5e5bfde95da71d9e00ec20b4a17d7f260ca90d23c86a47f8bc3fb98418aea6bc
pre_configure() {
./autogen.sh
}
pre_build() {
make -C src bin2c ptimec \
CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" \
CXX="$CXX_FOR_BUILD" CXXFLAGS="$BUILD_CXXFLAGS" \
LDFLAGS= LIBS=
}
post_install() {
vlicense LICENSE
}