# $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=3
epoch=2
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
}