You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.7 KiB
Makefile
55 lines
1.7 KiB
Makefile
1 year ago
|
#
|
||
|
# Copyright (C) 2006-2014 OpenWrt.org
|
||
|
#
|
||
|
# This is free software, licensed under the GNU General Public License v2.
|
||
|
# See /LICENSE for more information.
|
||
|
#
|
||
|
|
||
|
include $(TOPDIR)/rules.mk
|
||
|
|
||
|
PKG_NAME:=tgappstore
|
||
|
PKG_VERSION=5.0.0
|
||
|
PKG_RELEASE:=6
|
||
|
|
||
|
include $(INCLUDE_DIR)/package.mk
|
||
|
|
||
|
define Package/tgappstore
|
||
|
SECTION:=luci
|
||
|
CATEGORY:=LuCI
|
||
|
SUBMENU:=3. Applications
|
||
|
TITLE:=LuCI appstore module by PrivateRouter
|
||
|
PKGARCH:=all
|
||
|
DEPENDS:=+luci-compat
|
||
|
endef
|
||
|
|
||
|
define Package/tgappstore/description
|
||
|
This package contains LuCI configuration for the appstore, provided by PrivateRouter.
|
||
|
endef
|
||
|
|
||
|
define Build/Prepare
|
||
|
endef
|
||
|
|
||
|
define Build/Configure
|
||
|
endef
|
||
|
|
||
|
define Build/Compile
|
||
|
endef
|
||
|
|
||
|
define Package/tgappstore/install
|
||
|
$(INSTALL_DIR) $(1)/etc/config
|
||
|
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
||
|
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi/tgappstore
|
||
|
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller/admin
|
||
|
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/view/tgappstore
|
||
|
$(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d
|
||
|
|
||
|
$(INSTALL_CONF) ./files/etc/config/tgappstore $(1)/etc/config/tgappstore
|
||
|
$(INSTALL_DATA) ./files/etc/uci-defaults/40-tgappstore $(1)/etc/uci-defaults/40-tgappstore
|
||
|
$(INSTALL_DATA) ./files/usr/lib/lua/luci/model/cbi/tgappstore/tgappstore.lua $(1)/usr/lib/lua/luci/model/cbi/tgappstore/tgappstore.lua
|
||
|
$(INSTALL_DATA) ./files/usr/lib/lua/luci/controller/admin/tgappstore.lua $(1)/usr/lib/lua/luci/controller/admin/tgappstore.lua
|
||
|
$(INSTALL_DATA) ./files/usr/lib/lua/luci/view/tgappstore/tgappstore.htm $(1)/usr/lib/lua/luci/view/tgappstore/tgappstore.htm
|
||
|
$(INSTALL_DATA) ./files/usr/share/rpcd/acl.d/tgappstore.json $(1)/usr/share/rpcd/acl.d/tgappstore.json
|
||
|
endef
|
||
|
|
||
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|