Merge pull request #268 from dedeckeh/pr_nat46_upstep
[lede-routing/.git] / luci-app-bmx7 / Makefile
1 #    Copyright © 2011 Pau Escrich <pau@dabax.net>
2 #    Contributors Roger Pueyo Centelles <roger.pueyo@guifi.net>
3 #
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.
8 #
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.
13 #
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.
17 #
18 #    The full GNU General Public License is included in this distribution in
19 #    the file called "COPYING".
20
21 include $(TOPDIR)/rules.mk
22
23 PKG_NAME:=luci-app-bmx7
24 PKG_RELEASE:=0.0-alpha
25
26 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
27 PKG_LICENSE:=GPL-2.0+
28
29 include $(INCLUDE_DIR)/package.mk
30
31 define Package/luci-app-bmx7
32   SECTION:=luci
33   CATEGORY:=LuCI
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>
38 endef
39
40 define Package/luci-app-bmx7/description
41         LuCI application for web-based configuration and visualization of the BMX7 routing daemon
42 endef
43
44 define Package/luci-app-bmx7/conffiles
45         /etc/config/luci-bmx7
46 endef
47
48 define Build/Prepare
49 endef
50
51 define Build/Configure
52 endef
53
54 define Build/Compile
55 endef
56
57 define Package/luci-app-bmx7/install
58         $(CP) ./files/* $(1)/
59         chmod 755 $(1)/www/cgi-bin/bmx7-info
60 endef
61
62 $(eval $(call BuildPackage,luci-app-bmx7))
63