void-packages/srcpkgs/wavemon/template
2019-01-02 16:30:42 +01:00

24 lines
699 B
Bash

# Template file for 'wavemon'
pkgname=wavemon
version=0.9.0
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=5823ef9459d6147a457b390b6744a77465584e93d37c2809fa7a0be557070166
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
}