Commit 27fb75f3 authored by Leo's avatar Leo Committed by Natanael Copa

main/bwm-ng: upgrade to 0.6.2

parent ba7ef8f4
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bwm-ng
pkgver=0.6.1
pkgrel=4
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"
depends=""
makedepends="ncurses-dev"
source="http://www.gropp.org/$pkgname/$pkgname-$pkgver.tar.gz"
makedepends="ncurses-dev autoconf automake libtool"
source="$pkgname-$pkgver.tgz::https://github.com/vgropp/bwm-ng/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
default_prepare
./autogen.sh
}
build() {
cd "$_builddir"
cd "$builddir"
CFLAGS="$CFLAGS -std=gnu89" \
./configure \
--build=$CBUILD \
......@@ -31,16 +25,13 @@ build() {
--with-libstatgrab \
--with-procnetdev \
--with-ncurses \
--with-partitions \
|| return 1
make || return 1
--with-partitions
make
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
md5sums="ef0c7669508e95f56250ad4f8db98b7f bwm-ng-0.6.1.tar.gz"
sha256sums="027cf3c960cd96fc9ffacdf7713df62d0fc55eeef4a1388289f8a62ae5e50df0 bwm-ng-0.6.1.tar.gz"
sha512sums="3f8d4a10f5cbf743d6aee9c6170f334c4274224a2f1886f04338c9a1bf0cf13af5be4aaea0445c9e5b5d361915cc3a93bbfe7c4abf69a0d24e42bc414d8056cd bwm-ng-0.6.1.tar.gz"
sha512sums="4a7f141692f96dfab0c1729a7df36f5213a75ddb891b967b2cf951419daea7b84354c276705a0ee7c09f4ed26948ca068f65a04b8f9d18b2b8ed2df97b5e3b0a bwm-ng-0.6.2.tgz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment