]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - iproute2/iproute2.nm
14fe817cc01dcb21a70998dc5c8993ce25918538
[people/amarx/ipfire-3.x.git] / iproute2 / iproute2.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = iproute2
7 version = 2.6.39
8 release = 1
9
10 groups = Base Networking/Tools
11 url = http://www.linuxfoundation.org/en/Net:Iproute2
12 license = GPLv2+
13 summary = Advanced IP routing and network device configuration tools.
14
15 description
16 The iproute package contains networking utilities (ip and rtmon, for \
17 example) which are designed to use the advanced networking \
18 capabilities of the Linux 2.4.x and 2.6.x kernel.
19 end
20
21 source_dl =
22
23 build
24 requires
25 bison
26 db4-devel
27 flex
28 end
29
30 prepare_cmds
31 sed -i -e "s@DESTDIR=.*@DESTDIR=@" \
32 -e "s@/share/@/usr/share/@g" Makefile
33 end
34
35 install
36 make install DESTDIR=%{BUILDROOT}
37 mkdir -pv %{BUILDROOT}/usr/sbin
38 mv -v %{BUILDROOT}/sbin/arpd %{BUILDROOT}/usr/sbin
39 end
40 end
41
42 packages
43 package %{name}
44 end
45 end