diff --git a/package/lean/luci-app-pushbot/Makefile b/package/lean/luci-app-pushbot/Makefile index d0103319e..81d12b8aa 100644 --- a/package/lean/luci-app-pushbot/Makefile +++ b/package/lean/luci-app-pushbot/Makefile @@ -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