blob: 24f005bb6429ba3cfea200413c35f1c1f4d5c9ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ethtool
pkgver=4.13
pkgrel=0
pkgdesc="gkernel ethtool"
url="https://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="d0f881b88379b959cd34949c924b0e4d4fb1af0873192cdf8ec9cc2d2d677a4de13021efabb0a1aea1932ef38a6952d9f3eb040c478a9af770054a6170777789 ethtool-4.13.tar.xz"
|