c0ffacf1186ba86cea3b3fdfb131aea892342207
[packages.git] / net / coova-chilli / Makefile
1 #
2 # Copyright (C) 2007-2013 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:=coova-chilli
11 PKG_VERSION:=1.3.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://ap.coova.org/chilli
16 PKG_MD5SUM:=dc0037e3cdebcb60508081b4e42e984a
17
18 PKG_FIXUP:=autoreconf
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/coova-chilli
24   SUBMENU:=Captive Portals
25   SECTION:=net
26   CATEGORY:=Network
27   DEPENDS:=+kmod-tun +librt
28   TITLE:=Wireless LAN HotSpot controller (Coova Chilli Version)
29   URL:=http://www.coova.org/CoovaChilli
30 endef
31
32 define Package/coova-chilli/description
33         CoovaChilli is an open source access controller for wireless LAN
34         access points and is based on ChilliSpot. It is used for authenticating
35         users of a wireless (or wired) LAN. It supports web based login (UAM)
36         which is today's standard for public HotSpots and it supports Wireless
37         Protected Access (WPA) which is the standard of the future.
38         Authentication, authorization and accounting (AAA) is handled by your
39         favorite radius server.
40 endef
41
42 define Package/coova-chilli/conffiles
43 /etc/chilli.conf
44 endef
45
46 define Package/coova-chilli/install
47         $(INSTALL_DIR) $(1)/etc
48         $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/chilli.conf $(1)/etc/
49         $(INSTALL_DIR) $(1)/etc/chilli
50         $(CP) $(PKG_INSTALL_DIR)/etc/chilli/* $(1)/etc/chilli/
51         $(INSTALL_DIR) $(1)/usr/sbin
52         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/chilli* $(1)/usr/sbin/
53         $(INSTALL_DIR) $(1)/usr/lib/
54         $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so.* $(1)/usr/lib/
55 endef
56
57 $(eval $(call BuildPackage,coova-chilli))