diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-28 00:48:14 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-28 00:48:14 +0100 |
commit | 6489152cd5417070838922f55077be59ecc61bba (patch) | |
tree | 7f2a738f8c3a29e9be2b2aff921fcfb603acdcc9 /unmaintained/lnav | |
parent | c299fed24896ffdf877d537849763d3b14b580a9 (diff) | |
download | aports-6489152cd5417070838922f55077be59ecc61bba.tar.bz2 aports-6489152cd5417070838922f55077be59ecc61bba.tar.xz |
testing/lnav: unmaintained
Diffstat (limited to 'unmaintained/lnav')
-rw-r--r-- | unmaintained/lnav/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/unmaintained/lnav/APKBUILD b/unmaintained/lnav/APKBUILD new file mode 100644 index 0000000000..fac3b96d5b --- /dev/null +++ b/unmaintained/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" |