aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lnav
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2019-09-17 17:43:06 +0200
committerMilan P. Stanić <mps@arvanta.net>2019-09-17 17:44:31 +0200
commit6f3aa3b108e4e3a144fb7fc72da4153eb2794c79 (patch)
tree1209641ce305046633fe7e9479c9d03492802f2c /testing/lnav
parent8d93d780507c88bb2b5d2608e05e9e1be8755c6b (diff)
downloadaports-6f3aa3b108e4e3a144fb7fc72da4153eb2794c79.tar.bz2
aports-6f3aa3b108e4e3a144fb7fc72da4153eb2794c79.tar.xz
testing/lnav: new aport
https://lnav.org advanced log file navigator and viewer
Diffstat (limited to 'testing/lnav')
-rw-r--r--testing/lnav/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/lnav/APKBUILD b/testing/lnav/APKBUILD
new file mode 100644
index 0000000000..32b0a378a8
--- /dev/null
+++ b/testing/lnav/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Milan P. Stanić <mps@arvanta.net>
+# Maintainer: Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de>
+pkgname="lnav"
+pkgver="0.8.5"
+pkgrel=0
+pkgdesc="advanced log file navigator and viewer"
+url="https://lnav.org"
+arch="all"
+options="!check" # failed on some tests
+license="BSD-2-Clause"
+makedepends="libbsd-dev bzip2-dev zlib-dev sqlite-dev readline-dev pcre-dev
+ ncurses-dev autoconf automake bash"
+subpackages="$pkgname-doc"
+source="lnav-$pkgver.tar.gz::https://github.com/tstack/lnav/archive/v$pkgver.tar.gz"
+builddir="$srcdir/lnav-$pkgver"
+
+prepare() {
+ default_prepare
+ ./autogen.sh
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="dec408df7dedb79863d59d3607b0ce1b1a01f3936830d2227f64592bad12c040b89e04108f22cf68989661a80d24e7a60516f51779f928e9fcc33bb64e140fe8 lnav-0.8.5.tar.gz"