mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
34 lines
860 B
Text
34 lines
860 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=ethtool
|
|
pkgver=6.14
|
|
pkgrel=0
|
|
pkgdesc="Utility for controlling network drivers and hardware"
|
|
url="https://mirrors.edge.kernel.org/pub/software/network/ethtool/"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
makedepends="linux-headers libmnl-dev"
|
|
subpackages="$pkgname-doc $pkgname-bash-completion"
|
|
source="https://www.kernel.org/pub/software/network/ethtool/ethtool-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -flto=auto" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
05688e41044a3f263f4367149f9d775bc378f0f421685f415b30062ca74fa62acc0d5ee5aa74b2104429b5f1712fc2f12e120af0d5744c775c84fe8e777938a3 ethtool-6.14.tar.xz
|
|
"
|