29 lines
772 B
Bash
29 lines
772 B
Bash
# Template file for 'lnav'
|
|
pkgname=lnav
|
|
version=0.8.4
|
|
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=17cf1692f914c8cf2191040365ef481c32d4faf054f7c89e5c573aef7b988d2a
|
|
|
|
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
|
|
}
|