39 lines
847 B
Text
39 lines
847 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=wavemon
|
|
version=0.9.4
|
|
build=1sml
|
|
homepage="https://github.com/uoaerg/wavemon"
|
|
download="https://github.com/uoaerg/wavemon/archive/refs/tags/v$version.tar.gz"
|
|
desc="Text-mode 802.11 wireless network monitor"
|
|
requires="netbsd-curses libcap libnl"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
# wavemon doesn't like our CFLAGS...
|
|
unset CFLAGS
|
|
|
|
./configure \
|
|
--prefix=/usr
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
(
|
|
mv $pkg/usr/share/wavemon/* $pkgdocs/
|
|
rmdir $pkg/usr/share/wavemon
|
|
)
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
9868d060bc30bdc1ac456cd4d411a1a48d4649146124e6d993dde6bc72c77436b2cf3f3f5648df1266e0ad8a413f152586285b38059256a9104f6e23764aea4b wavemon-0.9.4.tar.lz
|
|
"
|