smlinux/net/ethtool/smbuild

34 lines
782 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=ethtool
version=4.18
build=1sml
homepage="https://mirrors.edge.kernel.org/pub/software/network/ethtool/"
download="https://mirrors.edge.kernel.org/pub/software/network/ethtool/ethtool-$version.tar.xz"
desc="Tool for examining and tuning a network interface"
requires="musl"
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 COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
1bb3123dfab3d0fad3aab9c7767af24fe634d449ce38d10bbfed5cf2839c378a1245c85ed410025a47b6eede8430ace377ecb9460ebcfd6db5148f813152b4cf ethtool-4.18.tar.lz
"