smlinux/net/traceroute/smbuild

30 lines
763 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=traceroute
version=2.1.0
build=1sml
homepage="http://traceroute.sourceforge.net/"
download="https://sourceforge.net/projects/traceroute/files/traceroute/traceroute-$version/traceroute-$version.tar.gz"
desc="Utility to track route packets going through a network to a target host"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
make
make install prefix=/usr DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
6683a3d5cd9cdef69f72c0c30ee4d1e8629207f0921a656cd0e8fbb17d809efc4c43b0f75f7c119899ae99b922dcdb4f7ee0bb864b54f8df5c56bdc0586956ca traceroute-2.1.0.tar.lz
"