1 # Copyright © 2011 Pau Escrich <pau@dabax.net>
2 # Contributors Roger Pueyo Centelles <roger.pueyo@guifi.net>
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License along
15 # with this program; if not, write to the Free Software Foundation, Inc.,
16 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 # The full GNU General Public License is included in this distribution in
19 # the file called "COPYING".
21 include $(TOPDIR)/rules.mk
23 PKG_NAME:=luci-app-bmx7
24 PKG_RELEASE:=0.0-alpha
26 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
29 include $(INCLUDE_DIR)/package.mk
31 define Package/luci-app-bmx7
34 SUBMENU:=3. Applications
35 TITLE:= LuCI support for BMX7
36 DEPENDS:=+luci-lib-json +luci-mod-admin-full +luci-lib-httpclient +bmx7
37 MAINTAINER:= Roger Pueyo Centelles <roger.pueyo@guifi.net>
40 define Package/luci-app-bmx7/description
41 LuCI application for web-based configuration and visualization of the BMX7 routing daemon
44 define Package/luci-app-bmx7/conffiles
51 define Build/Configure
57 define Package/luci-app-bmx7/install
59 chmod 755 $(1)/www/cgi-bin/bmx7-info
62 $(eval $(call BuildPackage,luci-app-bmx7))