2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.chillispot.org
/download
17 PKG_MD5SUM
:=9d2597756af3fa14d7331b4a3651fc9b
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/chillispot
26 SUBMENU
:=Captive Portals
30 TITLE
:=Wireless LAN HotSpot controller
31 URL
:=http
://www.chillispot.org
/
34 define Package
/chillispot
/description
35 ChilliSpot is an open source captive portal or wireless LAN
36 access point controller. It is used for authenticating users
37 of a wireless LAN. It supports web based login which is today
's
38 standard for public HotSpots and it supports Wireless Protected
39 Access (WPA) which is the standard of the future. Authentication,
40 authorization and accounting (AAA) is handled by your favorite
44 define Package/chillispot/conffiles
51 $(MAKE) -C $(PKG_BUILD_DIR) \
52 DESTDIR="$(PKG_INSTALL_DIR)" \
56 define Package/chillispot/install
57 $(INSTALL_DIR) $(1)/etc/init.d
58 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/chilli
59 $(INSTALL_DIR) $(1)/etc
60 $(INSTALL_DATA) $(PKG_BUILD_DIR)/doc/chilli.conf $(1)/etc/
61 $(INSTALL_DIR) $(1)/usr/sbin
62 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/chilli $(1)/usr/sbin/
65 $(eval $(call BuildPackage,chillispot))