blob: ae0f9f0272b417a00c8f9ddfff41b4b113ae44bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $Id: PKGBUILD 3746 2008-06-30 20:09:01Z andyrtr $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
pkgname=iproute
#_dlver=2.6.24-rc7
#pkgver=$(echo ${_dlver} | sed 's|-|_|g')
pkgver=2.6.25
pkgrel=1
pkgdesc="IP Routing Utilities"
arch=(i686 x86_64)
license=('GPL')
url="http://www.linux-foundation.org/en/Net:Iproute2"
depends=('db>=4.7')
source=(#http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-${_dlver}.tar.bz2
http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-${pkgver}.tar.bz2)
options=('force')
md5sums=('5737bade2f5e03fad0e2c81da91e551e')
build() {
#cd $srcdir/iproute2-${_dlver}
cd $srcdir/iproute2-${pkgver}
sed -i 's|/usr/local/lib/iptables|/usr/lib/iptables|' include/iptables.h || return 1
./configure
make || return 1
make DESTDIR=$pkgdir install || return 1
chmod 755 $pkgdir/usr/sbin/ifcfg
}
|