############################################################################### # # # IPFire.org - A linux based firewall # # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # # the Free Software Foundation, either version 3 of the License, or # # (at your option) any later version. # # # # This program is distributed in the hope that it will be useful, # # but WITHOUT ANY WARRANTY; without even the implied warranty of # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # GNU General Public License for more details. # # # # You should have received a copy of the GNU General Public License # # along with this program. If not, see . # # # ############################################################################### ############################################################################### # Definitions ############################################################################### include $(PKGROOT)/Include PKG_NAME = hostapd PKG_VER = 0.6.9 PKG_REL = 1 PKG_MAINTAINER = PKG_GROUPS = Networking/Tools PKG_URL = http://hostap.epitest.fi/hostapd/ PKG_LICENSE = GPLv2+ PKG_SUMMARY = User space daemon to create Wifi Access points. PKG_BUILD_DEPS+= libnl-devel openssl-devel define PKG_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. endef PKG_TARBALL = $(THISAPP).tar.gz define STAGE_PREPARE_CMDS cd $(DIR_APP)/hostapd && cp -vf $(DIR_SOURCE)/config .config cd $(DIR_APP)/hostapd && sed -e "s@/usr/local@$(BUILDROOT)/usr@g" -i Makefile endef define STAGE_BUILD cd $(DIR_APP)/hostapd && make $(PARALLELISMFLAGS) CC=gcc endef define STAGE_INSTALL -mkdir -pv $(BUILDROOT)/usr/bin cd $(DIR_APP)/hostapd && make install endef