main/ethtool: upgrade to 4.16, apkbuild update

This commit is contained in:
TBK 2018-04-14 04:51:54 +02:00 committed by Natanael Copa
parent 27d1e19471
commit 37c609a5e2

View File

@ -1,21 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ethtool
pkgver=4.15
pkgver=4.16
pkgrel=0
pkgdesc="gkernel ethtool"
url="https://sourceforge.net/projects/gkernel/"
pkgdesc="ethtool is the standard Linux utility for controlling network drivers and hardware, particularly for wired Ethernet devices."
url="https://mirrors.edge.kernel.org/pub/software/network/ethtool/"
arch="all"
license="GPL-2.0"
makedepends="linux-headers"
source="http://www.kernel.org/pub/software/network/ethtool/ethtool-$pkgver.tar.xz"
subpackages="$pkgname-doc"
builddir="$srcdir"/$pkgname-$pkgver
check() {
cd "$builddir"
make check
}
source="https://www.kernel.org/pub/software/network/ethtool/ethtool-$pkgver.tar.xz"
build() {
cd "$builddir"
@ -27,9 +20,14 @@ build() {
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="7ffd76b17b56de4182a14c2a77bf3026715f4af4c60809aed192f5631cb72173ed3c5d451e54711a73b65fee8339d58c857e83ddf60b85057bfed20863476527 ethtool-4.15.tar.xz"
sha512sums="c0cd28ca34e7fdc9af3335fd0b666b4b879ecbaf0c0bccf032aa36fdd66cbb01b6ddf16c6b60823d46a81f9b5f377047422ac88cc7cd0a869e239a3171966c66 ethtool-4.16.tar.xz"