Some minor modifications and cleanups

This commit is contained in:
p4u 2013-04-16 14:56:04 +02:00
parent 354ccf4ddf
commit c40447d16f

View file

@ -19,32 +19,30 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=bmx6-luci PKG_NAME:=luci-app-bmx6
PKG_RELEASE:=2 PKG_RELEASE:=2
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/bmx6-luci define Package/luci-app-bmx6
SECTION:=luci SECTION:=luci
CATEGORY:=LuCI CATEGORY:=LuCI
SUBMENU:=3. Applications SUBMENU:=3. Applications
TITLE:= Bmx6 configuration, status and visualization module TITLE:= Bmx6 configuration, status and visualization module
# DEPENDS:=+bmx6 +bmx6-uci-config DEPENDS:=+luci-lib-json +luci-mod-admin-core +luci-lib-httpclient +bmx6
DEPENDS:=+luci-lib-json +luci-mod-admin-core +luci-lib-httpclient
endef endef
define Package/bmx6-luci/description define Package/luci-app-bmx6/description
bmx6 web module for LuCi web interface bmx6 web module for LuCi web interface
endef endef
define Package/bmx6-luci/conffiles define Package/luci-app-bmx6/conffiles
/etc/config/luci-bmx6 /etc/config/luci-bmx6
endef endef
define Build/Prepare define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef endef
define Build/Configure define Build/Configure
@ -53,10 +51,10 @@ endef
define Build/Compile define Build/Compile
endef endef
define Package/bmx6-luci/install define Package/luci-app-bmx6/install
$(CP) ./files/* $(1)/ $(CP) ./files/* $(1)/
chmod 755 $(1)/www/cgi-bin/bmx6-info chmod 755 $(1)/www/cgi-bin/bmx6-info
endef endef
$(eval $(call BuildPackage,bmx6-luci)) $(eval $(call BuildPackage,luci-app-bmx6))