aboutsummaryrefslogtreecommitdiffstats
path: root/testing/goaccess
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-11-03 08:46:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-20 10:27:28 +0000
commiteec41f26e19018f1ed5bb0313c1939be285f56a0 (patch)
treed6796f5a2457d3b5cadae805c7b9b62101aceae4 /testing/goaccess
parent63b13636e5f43ce4fbf7009dd154dc43db81e2b9 (diff)
downloadaports-eec41f26e19018f1ed5bb0313c1939be285f56a0.tar.bz2
aports-eec41f26e19018f1ed5bb0313c1939be285f56a0.tar.xz
testing/goaccess: new aport
A real-time web log analyzer and interactive viewer http://goaccess.prosoftcorp.com/
Diffstat (limited to 'testing/goaccess')
-rw-r--r--testing/goaccess/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/goaccess/APKBUILD b/testing/goaccess/APKBUILD
new file mode 100644
index 0000000000..d7938b83b2
--- /dev/null
+++ b/testing/goaccess/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=goaccess
+pkgver=0.6.1
+pkgrel=0
+pkgdesc="A real-time web log analyzer and interactive viewer"
+url="http://goaccess.prosoftcorp.com/"
+arch="all"
+license="GPL2+"
+depends=""
+depends_dev=""
+makedepends="ncurses-dev geoip"
+install=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ 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="9cb656572e3c7e17679c697407b1dd33 goaccess-0.6.1.tar.gz"
+sha256sums="f414664769c884cdda33c92e6df1069fb8a1750d19955122b3f030614d414afa goaccess-0.6.1.tar.gz"
+sha512sums="67712e4af16c6e039ca46f6f8d8302a58be1e0cfd0c76930068c03a9989c35b58b61f7b1e6a9e79cbb978c8f492b80782b8c7b894abc2e067f0a520e2981f98b goaccess-0.6.1.tar.gz"