34 lines
780 B
Text
34 lines
780 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=mtr
|
|
version=0.93
|
|
build=1sml
|
|
homepage="https://www.bitwizard.nl/mtr/"
|
|
download="https://github.com/traviscross/mtr/archive/refs/tags/v$version.tar.gz"
|
|
desc="Combined traceroute and ping utility for diagnosing networks problems"
|
|
requires="netbsd-curses libcap gtk2"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sbindir=/usr/bin
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp BSDCOPYING COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
9ab524d8be879cd2a56ea959cba69aadb7a94f9934070954252ee0b5b035504e8d39a8bdb4dca1b5fbf422e588d434ba47ebea3f3e9db4dc0cf0deb1d9ea0bd5 mtr-0.93.tar.lz
|
|
"
|