mirror of
https://github.com/pygos/build.git
synced 2024-11-05 11:37:10 +01:00
fc278364e5
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
25 lines
456 B
Text
Executable file
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"
|
|
}
|