blob: 862f002b8c68b21f28043f3affc509e789de1def (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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.9.0
pkgrel=0
pkgdesc="Ncurses-based monitoring application for wireless network devices"
url="https://github.com/uoaerg/wavemon"
arch="all"
license="GPL-2.0-or-later"
makedepends="ncurses-dev libcap-dev libnl3-dev autoconf automake"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/uoaerg/$pkgname/archive/v$pkgver.tar.gz
use-atexit.patch
"
prepare() {
default_prepare
update_config_sub
sed -i '/^CFLAGS/d' configure.ac
autoreconf -fi
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make CFLAGS="$CFLAGS -pthread -I/usr/include/libnl3"
}
package() {
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/doc
mv "$pkgdir"/usr/share/$pkgname "$pkgdir"/usr/share/doc/
}
sha512sums="027e52c2096e36cdb34081b6accbb83943d0337da75d66de3ff61cc3a255faa2b129c2a8c9f72680fc9cd7a1bc9f837d52611b141d5855e01a82ff8e5739cd80 wavemon-0.9.0.tar.gz
9d7edc6c1c2dc1f835c051c7fd4c6c2c71265c092e1a7be5f90107ddd6d75dc6af272af740b7bb84c92bde06c822c5bfbb2c100447245d8ca8eb261bf94cc98b use-atexit.patch"
|