blob: aff59669946a18b1f1d3f4f072ab7a2f357b4b5b (
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
37
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bwm-ng
pkgver=0.6.2
pkgrel=0
pkgdesc="A small and simple console-based live bandwidth monitor"
url="http://www.gropp.org/"
arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
makedepends="ncurses-dev autoconf automake libtool"
source="$pkgname-$pkgver.tgz::https://github.com/vgropp/bwm-ng/archive/v$pkgver.tar.gz"
prepare() {
default_prepare
./autogen.sh
}
build() {
cd "$builddir"
CFLAGS="$CFLAGS -std=gnu89" \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-libstatgrab \
--with-procnetdev \
--with-ncurses \
--with-partitions
make
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
sha512sums="4a7f141692f96dfab0c1729a7df36f5213a75ddb891b967b2cf951419daea7b84354c276705a0ee7c09f4ed26948ca068f65a04b8f9d18b2b8ed2df97b5e3b0a bwm-ng-0.6.2.tgz"
|