summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/ethtool/PKGBUILD31
1 files changed, 17 insertions, 14 deletions
diff --git a/abs/extra/ethtool/PKGBUILD b/abs/extra/ethtool/PKGBUILD
index 1fddeb1..bac8cc7 100644
--- a/abs/extra/ethtool/PKGBUILD
+++ b/abs/extra/ethtool/PKGBUILD
@@ -1,22 +1,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=6
+pkgver=2.6.37
pkgrel=1
+epoch=1
pkgdesc="gkernel ethtool"
arch=(i686 x86_64)
-url="http://sourceforge.net/projects/gkernel/"
+url="http://www.kernel.org/pub/software/network/ethtool/"
license=('GPL')
-depends=(glibc)
-makedepends=()
-conflicts=()
-replaces=()
-backup=()
-install=
-source=(http://easynews.dl.sf.net/sourceforge/gkernel/$pkgname-$pkgver.tar.gz)
-md5sums=('3b721ec27f17ebf320ba8c505cf66d9c')
+depends=('glibc')
+source=(http://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.bz2)
build() {
- cd $startdir/src/$pkgname-$pkgver || return 1
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('b85741676992894c6520c54912cb96ea')