source: packages/net/chillispot/Makefile @ 6815

Last change on this file since 6815 was 6815, checked in by nbd, 9 years ago

revert [6813] - no longer necessary

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1#
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id$
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=chillispot
12PKG_VERSION:=1.1.0
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=http://www.chillispot.org/download
17PKG_MD5SUM:=9d2597756af3fa14d7331b4a3651fc9b
18PKG_CAT:=zcat
19
20PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23include $(INCLUDE_DIR)/package.mk
24
25define Package/chillispot
26  SECTION:=net
27  CATEGORY:=Network
28  DEPENDS:=+kmod-tun
29  TITLE:=Wireless LAN HotSpot controller
30  DESCRIPTION:=\
31        ChilliSpot is an open source captive portal or wireless LAN \\\
32        access point controller. It is used for authenticating users \\\
33        of a wireless LAN. It supports web based login which is today's \\\
34        standard for public HotSpots and it supports Wireless Protected \\\
35        Access (WPA) which is the standard of the future. Authentication, \\\
36        authorization and accounting (AAA) is handled by your favorite \\\
37        radius server.
38  URL:=http://www.chillispot.org/
39endef
40
41define Package/chillispot/conffiles
42/etc/chilli.conf
43endef
44
45# uses GNU configure
46
47define Build/Compile
48        $(MAKE) -C $(PKG_BUILD_DIR) \
49                DESTDIR="$(PKG_INSTALL_DIR)" \
50                all install
51endef
52
53define Package/chillispot/install
54        $(INSTALL_DIR) $(1)/etc/init.d
55        $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/chilli
56        $(INSTALL_DIR) $(1)/etc
57        $(INSTALL_DATA) $(PKG_BUILD_DIR)/doc/chilli.conf $(1)/etc/
58        $(INSTALL_DIR) $(1)/usr/sbin
59        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/chilli $(1)/usr/sbin/
60endef
61
62$(eval $(call BuildPackage,chillispot))
Note: See TracBrowser for help on using the repository browser.