33 lines
854 B
Bash
33 lines
854 B
Bash
# Template file for 'lnav'
|
|
pkgname=lnav
|
|
version=0.9.0
|
|
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=b8b1a287af7794277ef1b75753fabd82d66f30a0d2ac202edfb01e932b05495d
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
makedepends+=" musl-legacy-compat"
|
|
fi
|
|
|
|
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
|
|
}
|