1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-06-02 18:28:44 +02:00
build/pkg/ethtool/build

26 lines
456 B
Plaintext
Raw Normal View History

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"
}