]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - hostapd/hostapd.nm
Move all packages to root.
[people/amarx/ipfire-3.x.git] / hostapd / hostapd.nm
diff --git a/hostapd/hostapd.nm b/hostapd/hostapd.nm
new file mode 100644 (file)
index 0000000..0571e0f
--- /dev/null
@@ -0,0 +1,50 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = hostapd
+version    = 0.6.9
+release    = 1
+
+groups     = Networking/Tools
+url        = http://hostap.epitest.fi/hostapd/
+license    = GPLv2+
+summary    = User space daemon to create Wifi Access points.
+
+description
+       Hostapd is a user space daemon for access point and authentication \
+       servers. It implements IEEE 802.11 access point management, IEEE \
+       802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and \
+       RADIUS authentication server.
+end
+
+source_dl  =
+
+build
+       requires
+               libnl-devel
+               openssl-devel
+       end
+
+       prepare_cmds
+               cd hostapd
+               cp -vf %{DIR_SOURCE}/config .config
+               sed -e "s@/usr/local@%{BUILDROOT}/usr@g" -i Makefile
+       end
+
+       build
+               cd hostapd
+               make %{PARALLELISMFLAGS} CC=gcc
+       end
+
+       install
+               mkdir -pv %{BUILDROOT}/usr/bin
+               cd hostapd && make install
+       end
+end
+
+packages
+       package %{name}
+       end
+end