1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-23 03:29:46 +01:00
build/pkg/ethtool/build
David Oberhollenzer fc278364e5 Cleanup package command arguments
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-17 03:02:16 +01:00

25 lines
456 B
Text
Executable file

VERSION="4.15"
SRCDIR="ethtool-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://www.kernel.org/pub/software/network/ethtool/"
SHA256SUM="71f7fd32483ffdc7c6c4d882e230714eb101df0a46cbe396dbeb8ac78f1ef91a"
DEPENDS="toolchain"
prepare() {
return
}
build() {
$1/configure --prefix="" --host="$TARGET" --sbindir="/bin"
make -j $NUMJOBS
}
deploy() {
local SOURCE="$1"
local DEPLOY="$2"
make DESTDIR="$DEPLOY" install-strip
rm -r "$DEPLOY/share"
}