2019-08-03 20:29:27 +02:00
|
|
|
VERSION="5.2"
|
2018-01-15 11:27:05 +01:00
|
|
|
SRCDIR="ethtool-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
|
|
URL="https://www.kernel.org/pub/software/network/ethtool/"
|
2019-08-03 20:29:27 +02:00
|
|
|
SHA256SUM="665fd70841860d6cb974387e3ab97e0dde7745f95cb3ef35b98ef9aace137805"
|
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
|
|
|
}
|