summaryrefslogtreecommitdiff
path: root/extra/ethtool/PKGBUILD
blob: 549a5c6ba33b184b99f4b2535abdab46df1250af (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
# $Id: PKGBUILD 175975 2013-01-25 14:44:35Z ioni $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Martin Kemp <mdkemp@elys.com>

pkgname=ethtool
pkgver=3.7
pkgrel=1
epoch=1
pkgdesc="Utility for controlling network drivers and hardware"
arch=('i686' 'x86_64' 'mips64el')
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)
md5sums=('f16c8416e6ec917e5753918dc23a60bd')

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

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