aboutsummaryrefslogtreecommitdiffstats
path: root/community/darkstat/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/darkstat/APKBUILD')
-rw-r--r--community/darkstat/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/darkstat/APKBUILD b/community/darkstat/APKBUILD
new file mode 100644
index 0000000000..daa5ae32ad
--- /dev/null
+++ b/community/darkstat/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
+# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
+pkgname=darkstat
+pkgver=3.0.719
+pkgrel=1
+pkgdesc="Captures network traffic, calculates statistics about usage, and serves reports over HTTP"
+url="https://unix4lyfe.org/darkstat/"
+arch="all"
+license="GPL-2.0-only"
+makedepends="zlib-dev libpcap-dev"
+subpackages="$pkgname-doc"
+source="https://unix4lyfe.org/darkstat/darkstat-$pkgver.tar.bz2"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+package() {
+ make DESTDIR=$pkgdir install
+}
+
+sha512sums="264f6c5f862745fbfb5d125aae5a319369f028fd7be96cfb12775147f528a36b7f5a42bcd6434f2d376933292364641f2ec9cd9bdb1fe105f5a905e331181f98 darkstat-3.0.719.tar.bz2"