]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - hostapd/hostapd.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / hostapd / hostapd.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = hostapd
7 version = 0.7.3
8 release = 1
9
10 groups = Networking/Tools
11 url = http://hostap.epitest.fi/hostapd/
12 license = GPLv2+
13 summary = User space daemon to create Wifi Access points.
14
15 description
16 Hostapd is a user space daemon for access point and authentication \
17 servers. It implements IEEE 802.11 access point management, IEEE \
18 802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and \
19 RADIUS authentication server.
20 end
21
22 source_dl = http://hostap.epitest.fi/releases/
23
24 build
25 requires
26 libnl-devel
27 openssl-devel
28 end
29
30 prepare_cmds
31 cd hostapd
32 cp -vf %{DIR_SOURCE}/config .config
33 sed -e "s@/usr/local@%{BUILDROOT}/usr@g" -i Makefile
34 end
35
36 build
37 cd hostapd
38 make %{PARALLELISMFLAGS} CC=gcc
39 end
40
41 install
42 mkdir -pv %{BUILDROOT}/usr/bin
43 cd hostapd && make install
44 end
45 end
46
47 packages
48 package %{name}
49 end
50
51 package %{name}-debuginfo
52 template DEBUGINFO
53 end
54 end