diff options
Diffstat (limited to 'community/bmon')
-rw-r--r-- | community/bmon/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/bmon/APKBUILD b/community/bmon/APKBUILD new file mode 100644 index 0000000000..0e6e993eb7 --- /dev/null +++ b/community/bmon/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=bmon +pkgver=3.8 +pkgrel=0 +pkgdesc="bandwidth monitor and rate estimator" +url="https://github.com/tgraf/bmon" +arch="all" +license="BSD MIT" +depends="" +depends_dev="" +makedepends="$depends_dev libnl3-dev confuse-dev + ncurses-dev linux-headers" +install="" +subpackages="$pkgname-doc" +source="https://github.com/tgraf/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$builddir" + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="162ce0d108ff32cbf44b874c5a7e8147 bmon-3.8.tar.gz" +sha256sums="da3e9f5f82f6e65bf08d912cc1e6ba450e488c543151f4b37791da03373054ff bmon-3.8.tar.gz" +sha512sums="629a8678bf76e2dab125a08b334925f953e3ddd5ee0b2b865f157013a5462a5fa8e1bc76920487a03f5afdf12143c4a2cc1c6ab51d514119ca9754cc67117d84 bmon-3.8.tar.gz" |