2020-03-13 12:16:43 +01:00
|
|
|
VERSION="5.4"
|
2018-01-15 11:27:05 +01:00
|
|
|
SRCDIR="ethtool-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
|
|
URL="https://www.kernel.org/pub/software/network/ethtool/"
|
2020-03-13 12:16:43 +01:00
|
|
|
SHA256SUM="22f81e4927d6eb6a13a259d705248a96005fce2005e15257f639f5a1c8c52b6b"
|
2018-02-15 23:47:54 +01:00
|
|
|
DEPENDS="toolchain"
|
2018-01-15 11:27:05 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1"
|
2018-01-15 11:27:05 +01:00
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-01-15 11:27:05 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
2019-07-07 16:17:16 +02:00
|
|
|
check_update_simple "$URL" "ethtool" "tar.xz"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|