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

main/bwm-ng: upgrade to 0.6.2

parent ba7ef8f4
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bwm-ng pkgname=bwm-ng
pkgver=0.6.1 pkgver=0.6.2
pkgrel=4 pkgrel=0
pkgdesc="A small and simple console-based live bandwidth monitor" pkgdesc="A small and simple console-based live bandwidth monitor"
url="http://www.gropp.org/" url="http://www.gropp.org/"
arch="all" arch="all"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
depends="" makedepends="ncurses-dev autoconf automake libtool"
makedepends="ncurses-dev" source="$pkgname-$pkgver.tgz::https://github.com/vgropp/bwm-ng/archive/v$pkgver.tar.gz"
source="http://www.gropp.org/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() { prepare() {
cd "$_builddir" default_prepare
for i in $source; do ./autogen.sh
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
} }
build() { build() {
cd "$_builddir" cd "$builddir"
CFLAGS="$CFLAGS -std=gnu89" \ CFLAGS="$CFLAGS -std=gnu89" \
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
...@@ -31,16 +25,13 @@ build() { ...@@ -31,16 +25,13 @@ build() {
--with-libstatgrab \ --with-libstatgrab \
--with-procnetdev \ --with-procnetdev \
--with-ncurses \ --with-ncurses \
--with-partitions \ --with-partitions
|| return 1 make
make || return 1
} }
package() { package() {
cd "$_builddir" cd "$builddir"
make -j1 DESTDIR="$pkgdir" install || return 1 make -j1 DESTDIR="$pkgdir" install
} }
md5sums="ef0c7669508e95f56250ad4f8db98b7f bwm-ng-0.6.1.tar.gz" sha512sums="4a7f141692f96dfab0c1729a7df36f5213a75ddb891b967b2cf951419daea7b84354c276705a0ee7c09f4ed26948ca068f65a04b8f9d18b2b8ed2df97b5e3b0a bwm-ng-0.6.2.tgz"
sha256sums="027cf3c960cd96fc9ffacdf7713df62d0fc55eeef4a1388289f8a62ae5e50df0 bwm-ng-0.6.1.tar.gz"
sha512sums="3f8d4a10f5cbf743d6aee9c6170f334c4274224a2f1886f04338c9a1bf0cf13af5be4aaea0445c9e5b5d361915cc3a93bbfe7c4abf69a0d24e42bc414d8056cd bwm-ng-0.6.1.tar.gz"
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