1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Networking/Tools
11 url = http://www.linuxfoundation.org/en/Net:Iproute2
13 summary = Advanced IP routing and network device configuration tools.
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.
21 source_dl = http://kernel.org/pub/linux/utils/net/iproute2/
22 sources = %{thisapp}.tar.xz
30 linux-atm-devel >= 2.5.1
34 sed -e "s/^LIBDIR=/LIBDIR?=/" -i Makefile
37 export RPM_OPT_FLAGS = %{CFLAGS} %{LDFLAGS}
38 export LIBDIR = %{libdir}
39 export SBINDIR = %{sbindir}
40 export IPT_LIB_DIR = %{libdir}/xtables
44 install -v -m 644 include/libnetlink.h %{BUILDROOT}%{includedir}
45 install -v -m 644 lib/libnetlink.a %{BUILDROOT}%{libdir}
50 %{libdir}/libnetlink.a
58 configfiles = %{sysconfdir}/iproute2
65 package %{name}-debuginfo