# Maintainer: Natanael Copa pkgname=ethtool pkgver=4.11 pkgrel=0 pkgdesc="gkernel ethtool" url="http://sourceforge.net/projects/gkernel/" arch="all" license="GPL2" 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 } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="177bbb725abc725dece99b4198f673b57ac9fc5c466aa36ac9e2a66b5535c82b5a27e916ef3e489232709e0b2d27d821acb4bea17d9b5a1940bf83e6a13ef445 ethtool-4.11.tar.xz"