mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
luci-app-pushbot: rewrite makefile (#7782)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
This commit is contained in:
parent
48c9ee015a
commit
895c07b068
@ -6,29 +6,14 @@ PKG_RELEASE:=10
|
||||
|
||||
PKG_MAINTAINER:=tty228 zzsj0928
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
SECTION:=luci
|
||||
CATEGORY:=LuCI
|
||||
SUBMENU:=3. Applications
|
||||
DEPENDS:=+iputils-arping +curl
|
||||
TITLE:=LuCI support for Pushbot
|
||||
PKGARCH:=all
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
LUCI_TITLE:=LuCI support for Pushbot
|
||||
LUCI_PKGARCH:=all
|
||||
LUCI_DEPENDS:=+iputils-arping +curl
|
||||
|
||||
define Package/$(PKG_NAME)/conffiles
|
||||
/etc/config/pushbot
|
||||
/etc/config/pushbot
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci
|
||||
cp -pR ./luasrc/* $(1)/usr/lib/lua/luci
|
||||
$(INSTALL_DIR) $(1)/
|
||||
cp -pR ./root/* $(1)/
|
||||
endef
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
|
Loading…
Reference in New Issue
Block a user