mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-08-07 13:33:53 +08:00
luci-app-xlnetacc: rewrite makefile (#7784)
This commit is contained in:
parent
f5cb3a0af4
commit
3d92784881
@ -4,32 +4,16 @@ PKG_NAME:=luci-app-xlnetacc
|
||||
PKG_VERSION:=1.0.5
|
||||
PKG_RELEASE:=2
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
PKG_MAINTAINER:=Sense <sensec@gmail.com>
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
SECTION:=luci
|
||||
CATEGORY:=LuCI
|
||||
SUBMENU:=3. Applications
|
||||
TITLE:=LuCI Support for XLNetAcc
|
||||
PKGARCH:=all
|
||||
DEPENDS:=+jshn +curl +openssl-util
|
||||
MAINTAINER:=Sense <sensec@gmail.com>
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
LUCI_TITLE:=LuCI Support for XLNetAcc
|
||||
LUCI_PKGARCH:=all
|
||||
LUCI_DEPENDS:=+jshn +curl +openssl-util
|
||||
|
||||
define Package/$(PKG_NAME)/conffiles
|
||||
/etc/config/xlnetacc
|
||||
/etc/config/xlnetacc
|
||||
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)/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n
|
||||
po2lmo ./po/zh-cn/xlnetacc.po $(1)/usr/lib/lua/luci/i18n/xlnetacc.zh-cn.lmo
|
||||
endef
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
|
Loading…
x
Reference in New Issue
Block a user