summaryrefslogtreecommitdiffstats
path: root/iproute2/Pkgfile
blob: 5fe3b45285ebed0b50cbda1457e6a637fe981a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Description: Programmes de base et avancés pour réseau IPV4
# URL: http://linux-net.osdl.org/index.php/Iproute2
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libnl2

name=iproute2
version=3.5.0
release=1
source=(http://kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz)

build() {
	cd $name-$version
	sed -i '/^TARGETS/s@arpd@@g' misc/Makefile
	make SBINDIR=/sbin MANDIR=/usr/share/man INFODIR=/usr/share/info DESTDIR=$PKG install
	mkdir -p $PKG/usr/sbin
}