mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-11 10:34:33 +02:00
41 lines
1 KiB
Text
41 lines
1 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=bwm-ng
|
|
pkgver=0.6.3
|
|
pkgrel=3
|
|
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
|
|
format-security.patch
|
|
"
|
|
options="!check"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -std=gnu89" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--with-libstatgrab \
|
|
--with-procnetdev \
|
|
--with-ncurses \
|
|
--with-partitions
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make -j1 DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
85ce29e6ffa9643b4e7c1d731f4e928ddca8cfdc71c86b65ec4e55058b951eb8da9ab80139145300518223589d5fece5bdc11ede91a1ea394d569993ccdb0ab8 bwm-ng-0.6.3.tgz
|
|
e377d29ce10f8c8605412427bc05a2aeabe5e4bbb6813a2f9117e9f92b54c8a77e1dc03fe85fd997ae3f17edc146a0982d2e75a7acab2ea2532d9151138a9a37 format-security.patch
|
|
"
|