source: packages/net/pepperspot/Makefile @ 19705

Last change on this file since 19705 was 19705, checked in by lars, 7 years ago

[packages] Use default templates instead of custom reimplementations where applicable

File size: 1.3 KB
Line 
1#
2# Copyright (C) 2008-2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=pepperspot
11PKG_VERSION:=0.2
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=@SF/pepperspot
16PKG_MD5SUM:=a7ac2c8f93799f7d23d9ad2a0841fe4a
17
18PKG_INSTALL:=1
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/pepperspot
23  SUBMENU:=Captive Portals
24  SECTION:=net
25  CATEGORY:=Network
26  DEPENDS:=+kmod-tun +kmod-ipv6
27  TITLE:=Wireless LAN HotSpot controller
28  URL:=http://pepperspot.sourceforge.net/
29endef
30
31define Package/pepperspot/description
32  PepperSpot is a captive portal or wireless LAN access point controller
33  which support the IPv6 protocol. It supports web based login and it
34  supports Wireless Protected Access (WPA). Authentication is handled by
35  your favorite radius server (over IPv4/IPv6).
36endef
37
38define Package/pepperspot/conffiles
39/etc/pepper.conf
40endef
41
42# uses GNU configure
43
44define Package/pepperspot/install
45        $(INSTALL_DIR) $(1)/etc/init.d
46        $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/pepper
47        $(INSTALL_DIR) $(1)/etc
48        $(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/pepper.conf $(1)/etc/
49        $(INSTALL_DIR) $(1)/usr/sbin
50        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pepper $(1)/usr/sbin/
51endef
52
53$(eval $(call BuildPackage,pepperspot))
Note: See TracBrowser for help on using the repository browser.