void-packages/srcpkgs/wavemon/template

25 lines
699 B
Bash

# Template file for 'wavemon'
pkgname=wavemon
version=0.8.2
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-3"
homepage="https://github.com/uoaerg/wavemon"
distfiles="https://github.com/uoaerg/${pkgname}/archive/v${version}.tar.gz"
checksum=4199e2ad11a036f4289f5ad42a8b0fe518f2b5ff77447f4c366dbcf3f23e91d5
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
}