29 lines
773 B
Bash
29 lines
773 B
Bash
|
# Template file for 'lnav'
|
||
|
pkgname=lnav
|
||
|
version=0.8.3b
|
||
|
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=095ea6e61d3fd6f9864e7dd9d977c20dc55e7dec7d4910e9257d400b51b9905e
|
||
|
|
||
|
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
|
||
|
}
|