X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=luci-app-bmx6%2FMakefile;h=bb37c20dffb6a9ea7d379c89430312a0497385e9;hb=2a10adeee507b33b18ddc5d83ee5fe94a15cdd61;hp=4e8ce1be24add4b78cd73fdb864e9a96aae7f556;hpb=8ff9eca4bc68b533a1c3d899a4d23b86509e73a3;p=feed%2Frouting.git diff --git a/luci-app-bmx6/Makefile b/luci-app-bmx6/Makefile index 4e8ce1b..bb37c20 100644 --- a/luci-app-bmx6/Makefile +++ b/luci-app-bmx6/Makefile @@ -20,9 +20,10 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-bmx6 -PKG_RELEASE:=2 +PKG_RELEASE:=5 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) +PKG_LICENSE:=GPL-2.0+ include $(INCLUDE_DIR)/package.mk @@ -31,12 +32,38 @@ define Package/luci-app-bmx6 CATEGORY:=LuCI SUBMENU:=3. Applications TITLE:= bmx6 configuration, status and visualization module - DEPENDS:=+luci-lib-json +luci-mod-admin-core +luci-lib-httpclient +bmx6 + DEPENDS:=+luci-lib-json +luci-base +luci-lib-httpclient +bmx6 +luci-lib-jquery-1-4 +luci-lib-dracula MAINTAINER:= Pau Escrich endef +define Package/luci-lib-jquery-1-4 + SECTION:=luci + CATEGORY:=LuCI + TITLE:=LuCI - Lua Configuration Interface + MAINTAINER:=Gui Iribarren + SUBMENU:=6. Libraries + TITLE:=jQuery 1.4 javascript library +endef + +define Package/luci-lib-dracula + SECTION:=luci + CATEGORY:=LuCI + TITLE:=LuCI - Lua Configuration Interface + MAINTAINER:=Pau Escrich + SUBMENU:=6. Libraries + TITLE:=dracula graph javascript library +endef + define Package/luci-app-bmx6/description - bmx6 web module for LuCi web interface + bmx6 web application (status and configuration) for LuCi web interface +endef + +define Package/luci-lib-jquery-1-4/description + minified javascript jQuery 1.4 library +endef + +define Package/luci-lib-dracula-graph/description + minified dracula javascript graph library endef define Package/luci-app-bmx6/conffiles @@ -53,9 +80,20 @@ define Build/Compile endef define Package/luci-app-bmx6/install - $(CP) ./files/* $(1)/ + $(CP) ./bmx6/* $(1)/ chmod 755 $(1)/www/cgi-bin/bmx6-info endef -$(eval $(call BuildPackage,luci-app-bmx6)) +define Package/luci-lib-jquery-1-4/install + $(INSTALL_DIR) $(1)/www/luci-static/resources/jquery/ + $(CP) ./jquery/* $(1)/www/luci-static/resources/jquery/ +endef + +define Package/luci-lib-dracula/install + $(INSTALL_DIR) $(1)/www/luci-static/resources/dracula + $(CP) ./dracula/* $(1)/www/luci-static/resources/dracula/ +endef +$(eval $(call BuildPackage,luci-app-bmx6)) +$(eval $(call BuildPackage,luci-lib-jquery-1-4)) +$(eval $(call BuildPackage,luci-lib-dracula))