void-packages/srcpkgs/wavemon/template

25 lines
710 B
Bash

# Template file for 'wavemon'
pkgname=wavemon
version=0.9.1
revision=1
build_style="gnu-configure"
hostmakedepends="automake pkg-config"
makedepends="ncurses-devel libnl3-devel"
short_desc="Ncurses-based monitoring application for wireless network devices"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/uoaerg/wavemon"
distfiles="https://github.com/uoaerg/${pkgname}/archive/v${version}.tar.gz"
checksum=5ebd5b79d3b7c546bc16b95161872c699a75e9acdfc6e3f02ec48dad10802067
CFLAGS="-pthread -I${XBPS_CROSS_BASE}/usr/include/libnl3"
post_extract() {
sed -i '/^CFLAGS/d' configure.ac
autoreconf -fi
}
post_install() {
rm -rf ${DESTDIR}/usr/share/wavemon
}