summaryrefslogtreecommitdiffstats
path: root/abs/extra/ethtool/PKGBUILD
blob: cdf5122a47b01d5263dda46a5d2951edd7f99f02 (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
# $Id: PKGBUILD 196480 2013-10-14 08:50:55Z ioni $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Martin Kemp <mdkemp@elys.com>

pkgname=ethtool
pkgver=3.11
pkgrel=1
epoch=1
pkgdesc="Utility for controlling network drivers and hardware"
arch=('i686' 'x86_64')
url="http://www.kernel.org/pub/software/network/ethtool/"
license=('GPL')
depends=('glibc')
source=(http://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.xz)

build() {
    cd $pkgname-$pkgver
    ./configure --prefix=/usr --mandir=/usr/share/man \
        --sbindir=/usr/bin
    make
}

package() {
    cd $pkgname-$pkgver
    make DESTDIR="$pkgdir" install
}
md5sums=('5f3a0ed1b3510ca0695db0b4debdd292')