summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2014-08-11 06:56:03 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2014-08-11 06:56:03 +0000
commite0fd958ebf647be0aec388571fe41e044f4684f2 (patch)
tree0f94987013b8e6edcd5f1f2ce05267ea767b3d36 /main
parentf36be386b2b9c611d87f9d80ca716f4876bbffdd (diff)
downloadaports-e0fd958ebf647be0aec388571fe41e044f4684f2.zip
testing/goaccess: move to main
Diffstat (limited to 'main')
-rw-r--r--main/goaccess/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/main/goaccess/APKBUILD b/main/goaccess/APKBUILD
new file mode 100644
index 00000000000..8e4720abb52
--- /dev/null
+++ b/main/goaccess/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=goaccess
+pkgver=0.8.3
+pkgrel=1
+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 glib-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://tar.goaccess.io/$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="0218f26001f3bc2213a1b37c01118486 goaccess-0.8.3.tar.gz"
+sha256sums="7a471b4b41807e261700c3a01df491e75504aa6b86392f263d6d92a5f9ecbdf6 goaccess-0.8.3.tar.gz"
+sha512sums="ae03a6a5090ffbc9a329365ffb1c706613553af6005288bcbae5c05edd20bc6198234d6a32808367a28c53358244caaec26c38aad52c5c669b9d592e75ba4660 goaccess-0.8.3.tar.gz"