summaryrefslogtreecommitdiff
path: root/extra/ethtool/PKGBUILD
blob: 02c404210f56064bb9e026f00977c70a7c439cbc (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
# $Id: PKGBUILD 127195 2011-06-11 08:04:12Z ibiru $
# Maintainer: Paul Mattal <paul@archlinux.org>
# Contributer: Martin Kemp <mdkemp@elys.com>
pkgname=ethtool
pkgver=2.6.39
pkgrel=1
epoch=1
pkgdesc="gkernel ethtool"
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.bz2)
md5sums=('97211a1e3a496bc3bd0b75849d0fbae9')

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

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