diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-11-02 22:48:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-20 10:27:28 +0000 |
commit | 63b13636e5f43ce4fbf7009dd154dc43db81e2b9 (patch) | |
tree | e21815d52a8897062e6760dbacc285422582d588 /testing/lnav | |
parent | 21c3b4815cc15f9ee3f697f1c411838e24c18e3c (diff) | |
download | aports-63b13636e5f43ce4fbf7009dd154dc43db81e2b9.tar.bz2 aports-63b13636e5f43ce4fbf7009dd154dc43db81e2b9.tar.xz |
testing/lnav: new aport
A curses-based tool for viewing and analyzing log files
http://lnav.org
Diffstat (limited to 'testing/lnav')
-rw-r--r-- | testing/lnav/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/testing/lnav/APKBUILD b/testing/lnav/APKBUILD new file mode 100644 index 0000000000..fac3b96d5b --- /dev/null +++ b/testing/lnav/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=lnav +pkgver=0.6.1 +pkgrel=0 +pkgdesc="A curses-based tool for viewing and analyzing log files" +url="http://lnav.org" +arch="all" +license="BSD" +depends="" +depends_dev="" +makedepends="python-dev ncurses-dev openssl-dev pcre-dev readline-dev + sqlite-dev zlib-dev autoconf automake" +install="" +subpackages="" +source="https://github.com/tstack/lnav/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + update_config_sub || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="293d09de03f8a3d18dea9da9db5a5e6d lnav-0.6.1.tar.gz" +sha256sums="a952f5e6f8d08a9b96c1219b6beac09319a6be1521d783a645cdb6b4352a7fc9 lnav-0.6.1.tar.gz" +sha512sums="a44a0041bf52242f03b0d9ee0551430d148faa6a967467e69619c60524d079e79b27914c9488af34b39c6a66ee0e12b1fa70b8c4bed6ef7ea5fd8d07263a6801 lnav-0.6.1.tar.gz" |