blob: 0ec2d171bf565b63120dfbf013e82392bec53c41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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="BSD"
makedepends="zlib-dev libpcap-dev"
subpackages="$pkgname-doc"
source="https://unix4lyfe.org/$pkgname/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
check() {
cd "$builddir"
./darkstat --help > /dev/null
}
package() {
cd "$builddir"
make DESTDIR=$pkgdir install
}
sha512sums="264f6c5f862745fbfb5d125aae5a319369f028fd7be96cfb12775147f528a36b7f5a42bcd6434f2d376933292364641f2ec9cd9bdb1fe105f5a905e331181f98 darkstat-3.0.719.tar.bz2"
|