diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/iproute2/PKGBUILD | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/iproute2/PKGBUILD')
-rw-r--r-- | abs/core/iproute2/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/iproute2/PKGBUILD b/abs/core/iproute2/PKGBUILD new file mode 100644 index 0000000..ed280e5 --- /dev/null +++ b/abs/core/iproute2/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 24415 2009-01-16 12:43:06Z ronald $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +pkgname=iproute2 +pkgver=2.6.28 +pkgrel=1 +pkgdesc="IP Routing Utilities" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://www.linux-foundation.org/en/Net:Iproute2" +depends=('linux-atm' 'perl') + +provides=('iproute') +conflicts=('iproute') +replaces=('iproute') + +backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 'etc/iproute2/rt_protos' \ + 'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 'etc/iproute2/rt_tables') + +source=(http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-${pkgver}.tar.bz2) +md5sums=('595f9b17320f69e8d30d2fa80f1bca14') + +build() { + cd $srcdir/iproute2-${pkgver} + + sed -i 's|/usr/local/lib/iptables|/usr/lib/iptables|' include/iptables.h || return 1 + sed -i 's|=/share|=/usr/share|' Makefile || return 1 + sed -i 's|=/sbin|=/usr/sbin|' Makefile || return 1 + + ./configure || return 1 + make || return 1 + make DESTDIR=$pkgdir install || return 1 + +# chmod 755 $pkgdir/usr/sbin/ifcfg || return 1 + +} |