diff options
Diffstat (limited to 'main/bwm-ng')
-rw-r--r-- | main/bwm-ng/APKBUILD | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/main/bwm-ng/APKBUILD b/main/bwm-ng/APKBUILD index dd51782337..54679d755c 100644 --- a/main/bwm-ng/APKBUILD +++ b/main/bwm-ng/APKBUILD @@ -1,19 +1,24 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=bwm-ng pkgver=0.6 -pkgrel=3 +pkgrel=4 pkgdesc="A small and simple console-based live bandwidth monitor" url="http://www.gropp.org/" arch="all" -license="GPL" +license="GPL2+" subpackages="$pkgname-doc" -depends= +depends="" makedepends="ncurses-dev" source="http://www.gropp.org/$pkgname/$pkgname-$pkgver.tar.gz" -build () -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,9 +28,14 @@ build () --with-ncurses \ --with-partitions \ || return 1 - make || return 1 - make DESTDIR="$pkgdir" install || return 1 +} +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install || return 1 } + md5sums="d3a02484fb7946371bfb4e10927cebfb bwm-ng-0.6.tar.gz" +sha256sums="c1134358e268329d438b0996399003b0f0b966034fb4b5b138761c2f3c62ffdd bwm-ng-0.6.tar.gz" +sha512sums="7327ec848b0c18d68b2cb0a0ca570bb4d783b534186868d13b453346dbf3ddbcd7e1070803406ff207dc1fd00aa91c06187b0ea7fea28c6c006b44165331c21b bwm-ng-0.6.tar.gz" |