]>
Commit | Line | Data |
---|---|---|
eba973e4 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
eba973e4 MT |
4 | ############################################################################### |
5 | ||
13d70737 | 6 | name = wireless-tools |
802ea3af | 7 | version = 29 |
13d70737 MT |
8 | release = 2 |
9 | thisapp = wireless_tools.%{version} | |
eba973e4 | 10 | |
802ea3af MT |
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. | |
eba973e4 | 15 | |
802ea3af MT |
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 | |
eba973e4 | 20 | specific stats for wireless networking equipment. |
802ea3af MT |
21 | end |
22 | ||
802ea3af MT |
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 \ | |
13d70737 MT |
34 | INSTALL_LIB=%{BUILDROOT}/%{lib} \ |
35 | INSTALL_MAN=%{BUILDROOT}%{mandir} | |
802ea3af MT |
36 | |
37 | install_cmds | |
13d70737 MT |
38 | rm -vf %{BUILDROOT}/%{lib}/libiw.{a,so} |
39 | mkdir -pv %{BUILDROOT}%{libdir} | |
40 | ln -svf ../../%{lib}/libiw.so.%{version} %{BUILDROOT}%{libdir}/libiw.so | |
802ea3af MT |
41 | end |
42 | end | |
43 | ||
44 | packages | |
45 | package %{name} | |
46 | end | |
1f9bc2f0 | 47 | |
802ea3af MT |
48 | package %{name}-devel |
49 | template DEVEL | |
50 | end | |
1f9bc2f0 MT |
51 | |
52 | package %{name}-debuginfo | |
53 | template DEBUGINFO | |
54 | end | |
802ea3af | 55 | end |