add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / net / chillispot / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=chillispot
11 PKG_VERSION:=1.1.0
12 PKG_RELEASE:=3
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.chillispot.info/download
16 PKG_MD5SUM:=9d2597756af3fa14d7331b4a3651fc9b
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/chillispot
24   SUBMENU:=Captive Portals
25   SECTION:=net
26   CATEGORY:=Network
27   DEPENDS:=+kmod-tun
28   TITLE:=Wireless LAN HotSpot controller
29   URL:=http://www.chillispot.info/
30 endef
31
32 define Package/chillispot/description
33         ChilliSpot is an open source captive portal or wireless LAN 
34         access point controller. It is used for authenticating users 
35         of a wireless LAN. It supports web based login which is today's 
36         standard for public HotSpots and it supports Wireless Protected 
37         Access (WPA) which is the standard of the future. Authentication, 
38         authorization and accounting (AAA) is handled by your favorite 
39         radius server.
40 endef
41
42 define Package/chillispot/conffiles
43 /etc/chilli.conf
44 endef
45
46 # uses GNU configure
47
48 define Package/chillispot/install
49         $(INSTALL_DIR) $(1)/etc/init.d
50         $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/chilli
51         $(INSTALL_DIR) $(1)/etc
52         $(INSTALL_DATA) $(PKG_BUILD_DIR)/doc/chilli.conf $(1)/etc/
53         $(INSTALL_DIR) $(1)/usr/sbin
54         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/chilli $(1)/usr/sbin/
55 endef
56
57 $(eval $(call BuildPackage,chillispot))