]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - wireless-tools/wireless-tools.nm
c7faadaa52ee6bd73bff963be06d21f7b9bbece6
[people/amarx/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 = 1
9
10 groups = Networking/Wireless
11 url = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
12 license = GPL+
13 summary = Wireless ethernet configuration tools.
14
15 description
16 This package contain the Wireless tools, used to manipulate
17 the Wireless Extensions. The Wireless Extension is an interface
18 allowing you to set Wireless LAN specific parameters and get the
19 specific stats for wireless networking equipment.
20 end
21
22 thisapp = %{name}.%{version}
23
24 source_dl = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
25
26 build
27 make_build_targets += \
28 BUILD_SHARED=1 \
29 FORCE_WEXT_VERSION=16 \
30 OPT_FLAGS="%{CFLAGS}"
31
32 make_install_targets += \
33 PREFIX=%{BUILDROOT}/usr \
34 INSTALL_DIR=%{BUILDROOT}/sbin \
35 INSTALL_LIB=%{BUILDROOT}/lib \
36 INSTALL_MAN=%{BUILDROOT}/usr/share/man
37
38 install_cmds
39 rm -vf %{BUILDROOT}/lib/libiw.{a,so}
40 mkdir -pv %{BUILDROOT}/usr/lib
41 ln -svf ../../lib/libiw.so.%{version} %{BUILDROOT}/usr/lib/libiw.so
42 end
43 end
44
45 packages
46 package %{name}
47 end
48
49 package %{name}-devel
50 template DEVEL
51 end
52 end