aboutsummaryrefslogtreecommitdiffstats
path: root/main/ethtool/APKBUILD
blob: 81709fb239d7788d42339eb1385a296b933bc4ed (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ethtool
pkgver=3.9
pkgrel=0
pkgdesc="gkernel ethtool"
url="http://sourceforge.net/projects/gkernel/"
arch="all"
license="GPL"
depends=""
makedepends=""
source="http://www.kernel.org/pub/software/network/ethtool/ethtool-$pkgver.tar.xz"
subpackages="$pkgname-doc"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--mandir=/usr/share/man
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="5777759e85b3323917c6cc9327f5d99c  ethtool-3.9.tar.xz"
sha256sums="28f28e702e4992ec44f63c58e1c8033a2318c47372f1f99f5779167ddd5453a6  ethtool-3.9.tar.xz"
sha512sums="88439d4ff58932f5e22475dfb696f57b7b0a6f6532e532e191cf510fd12d7613bc4ae25be6cfea05718c888d7b9e7601ff5d22aa5b6e94fb35a5ed3546ef6c70  ethtool-3.9.tar.xz"