diff options
Diffstat (limited to 'main/nload/APKBUILD')
-rw-r--r-- | main/nload/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/main/nload/APKBUILD b/main/nload/APKBUILD new file mode 100644 index 000000000..08642cb6d --- /dev/null +++ b/main/nload/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Jeff Bilyk <jbilyk at gmail.com> +# Maintainer: +pkgname=nload +pkgver=0.7.2 +pkgrel=1 +pkgdesc="Console network traffic and bandwidth monitor" +url="http://www.roland-riegel.de/nload" +arch="all" +license="GPL" +depends= +makedepends="ncurses-dev" +install= +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="5b851ecf898edcd1f465946745e95eb6 nload-0.7.2.tar.gz" |