diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2016-11-08 15:04:16 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-19 20:52:22 +0100 |
commit | 684786060ffb264712c116a2391019834225abee (patch) | |
tree | ebc7d355336609c9076de9f11158688b51cc6872 /community/wavemon | |
parent | aecafa145eb71a0b954fd0faef68eaa16d9adc83 (diff) | |
download | aports-684786060ffb264712c116a2391019834225abee.tar.bz2 aports-684786060ffb264712c116a2391019834225abee.tar.xz |
community/wavemon: move from unmaintained
Diffstat (limited to 'community/wavemon')
-rw-r--r-- | community/wavemon/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/community/wavemon/APKBUILD b/community/wavemon/APKBUILD new file mode 100644 index 0000000000..88eb0edb2e --- /dev/null +++ b/community/wavemon/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=wavemon +pkgver=0.8.0 +pkgrel=0 +pkgdesc="Ncurses-based monitoring application for wireless network devices" +url="https://github.com/uoaerg/wavemon" +arch="all" +license="GPL2+" +makedepends="ncurses-dev libcap-dev libnl3-dev libnl3-dev autoconf automake" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/uoaerg/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$builddir" + update_config_sub || return 1 + + sed -i '/^CFLAGS/d' configure.ac + autoreconf -fi || return 1 +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + || return 1 + make CFLAGS="$CFLAGS -pthread -I/usr/include/libnl3" || return 1 +} + +package() { + cd "$builddir" + make DESTDIR=$pkgdir install || return 1 +} + +md5sums="816b65577ecf1d2964dee37381901296 wavemon-0.8.0.tar.gz" +sha256sums="81ee1f06f8349fee62e98ec5b53dff5b76c4d8fcb439f20cca806255239e3a2a wavemon-0.8.0.tar.gz" +sha512sums="2df48eb300e9b30e0cb7a0ab41ba5e10b2a6e8170dbd11a4c978462c8cd6dc1171f79ceadfdb7344c495420a4e87b7dd723efea4f1af59a6d0312d93049ee798 wavemon-0.8.0.tar.gz" |