void-packages/srcpkgs/wavemon/template
2020-10-25 20:30:33 +01:00

25 lines
760 B
Bash

# Template file for 'wavemon'
pkgname=wavemon
version=0.9.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-2.0-or-later"
homepage="https://github.com/uoaerg/wavemon"
distfiles="https://github.com/uoaerg/${pkgname}/archive/v${version}.tar.gz"
checksum=13334ff17720ba4d17f4658dd2b93a50a6b5bc0583dedd72b88fd0cb90db686a
CFLAGS="-pthread -I${XBPS_CROSS_BASE}/usr/include/libnl3"
post_extract() {
sed -i 's:ncursesw/curses.h:curses.h:' wavemon.h
sed -i '/^CFLAGS/d' configure.ac
autoreconf -fi
}
post_install() {
rm -rf ${DESTDIR}/usr/share/wavemon
}