diff options
author | Cecil <knoppmyth@gmail.com> | 2011-07-06 06:45:36 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-07-06 06:45:36 (GMT) |
commit | 6b348fe951e19e317bebf3a7f383a7cced3d5189 (patch) | |
tree | c346e8677dc8cfc47e66e40c439d9ff12dd9f4b9 /abs/extra/ethtool | |
parent | dab8db37adbf5b98537c75e0b08646cb8fdfa44f (diff) | |
download | linhes_pkgbuild-6b348fe951e19e317bebf3a7f383a7cced3d5189.zip linhes_pkgbuild-6b348fe951e19e317bebf3a7f383a7cced3d5189.tar.gz linhes_pkgbuild-6b348fe951e19e317bebf3a7f383a7cced3d5189.tar.bz2 |
ethtool:bumped to latest.
Diffstat (limited to 'abs/extra/ethtool')
-rw-r--r-- | abs/extra/ethtool/PKGBUILD | 31 |
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') |