mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/iftop: update config.sub
This commit is contained in:
parent
0ce3326d55
commit
ec7cc3fea1
@ -1,7 +1,7 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=iftop
|
||||
pkgver=0.17
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="iftop does for network usage what top(1) does for CPU usage"
|
||||
url="http://www.ex-parrot.com/~pdw/iftop/"
|
||||
arch="all"
|
||||
@ -11,8 +11,14 @@ makedepends="libpcap-dev>=1 ncurses-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir"/iftop-$pkgver
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
update_config_sub
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
cd "$_builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
@ -23,7 +29,7 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
md5sums="062bc8fb3856580319857326e0b8752d iftop-0.17.tar.gz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user