summaryrefslogtreecommitdiff
path: root/testing/ethtool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ethtool/PKGBUILD')
-rw-r--r--testing/ethtool/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/ethtool/PKGBUILD b/testing/ethtool/PKGBUILD
new file mode 100644
index 000000000..09ab12239
--- /dev/null
+++ b/testing/ethtool/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 161331 2012-06-09 18:33:39Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Paul Mattal <paul@archlinux.org>
+# Contributor: Martin Kemp <mdkemp@elys.com>
+
+pkgname=ethtool
+pkgver=3.4
+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)
+md5sums=('cc4c4cf3ac086a53cd24f17d426f2b8f')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}