]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - wireless-tools/wireless-tools.nm
kernel: update to 4.12.10
[people/arne_f/ipfire-3.x.git] / wireless-tools / wireless-tools.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = wireless-tools
7 version = 29
8 release = 2
9 thisapp = wireless_tools.%{version}
10
11 groups = Networking/Wireless
12 url = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
13 license = GPL+
14 summary = Wireless ethernet configuration tools.
15
16 description
17 This package contain the Wireless tools, used to manipulate
18 the Wireless Extensions. The Wireless Extension is an interface
19 allowing you to set Wireless LAN specific parameters and get the
20 specific stats for wireless networking equipment.
21 end
22
23 source_dl = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
24
25 build
26 make_build_targets += \
27 BUILD_SHARED=1 \
28 FORCE_WEXT_VERSION=16 \
29 OPT_FLAGS="%{CFLAGS}"
30
31 make_install_targets += \
32 PREFIX=%{BUILDROOT}/usr \
33 INSTALL_DIR=%{BUILDROOT}/sbin \
34 INSTALL_LIB=%{BUILDROOT}/%{lib} \
35 INSTALL_MAN=%{BUILDROOT}%{mandir}
36
37 install_cmds
38 rm -vf %{BUILDROOT}/%{lib}/libiw.{a,so}
39 mkdir -pv %{BUILDROOT}%{libdir}
40 ln -svf ../../%{lib}/libiw.so.%{version} %{BUILDROOT}%{libdir}/libiw.so
41 end
42 end
43
44 packages
45 package %{name}
46 end
47
48 package %{name}-devel
49 template DEVEL
50 end
51
52 package %{name}-debuginfo
53 template DEBUGINFO
54 end
55 end