1 # Copyright (C) 2011 Pau Escrich <pau@dabax.net>
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License along
14 # with this program; if not, write to the Free Software Foundation, Inc.,
15 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 # The full GNU General Public License is included in this distribution in
18 # the file called "COPYING".
20 include $(TOPDIR
)/rules.mk
22 PKG_NAME
:=luci-app-bmx6
25 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
28 include $(INCLUDE_DIR
)/package.mk
30 define Package
/luci-app-bmx6
33 SUBMENU
:=3. Applications
34 TITLE
:= bmx6 configuration
, status and visualization module
35 DEPENDS
:=+luci-lib-json
+luci-base
+luci-lib-httpclient
+bmx6
+luci-lib-jquery-1-4
+luci-lib-dracula
36 MAINTAINER
:= Pau Escrich
<p4u@dabax.net
>
39 define Package
/luci-lib-jquery-1-4
42 TITLE
:=LuCI
- Lua Configuration Interface
43 MAINTAINER
:=Gui Iribarren
<gui@altermundi.net
>
45 TITLE
:=jQuery
1.4 javascript library
48 define Package
/luci-lib-dracula
51 TITLE
:=LuCI
- Lua Configuration Interface
52 MAINTAINER
:=Pau Escrich
<p4u@dabax.net
>
54 TITLE
:=dracula graph javascript library
57 define Package
/luci-app-bmx6
/description
58 bmx6 web application
(status and configuration
) for LuCi web interface
61 define Package
/luci-lib-jquery-1-4
/description
62 minified javascript jQuery
1.4 library
65 define Package
/luci-lib-dracula-graph
/description
66 minified dracula javascript graph library
69 define Package
/luci-app-bmx6
/conffiles
76 define Build
/Configure
82 define Package
/luci-app-bmx6
/install
84 chmod
755 $(1)/www
/cgi-bin
/bmx6-info
87 define Package
/luci-lib-jquery-1-4
/install
88 $(INSTALL_DIR
) $(1)/www
/luci-static
/resources
/jquery
/
89 $(CP
) .
/jquery
/* $(1)/www
/luci-static
/resources
/jquery
/
92 define Package
/luci-lib-dracula
/install
93 $(INSTALL_DIR
) $(1)/www
/luci-static
/resources
/dracula
94 $(CP
) .
/dracula
/* $(1)/www
/luci-static
/resources
/dracula
/
97 $(eval
$(call BuildPackage
,luci-app-bmx6
))
98 $(eval
$(call BuildPackage
,luci-lib-jquery-1-4
))
99 $(eval
$(call BuildPackage
,luci-lib-dracula
))