Rewrite Makefile
This commit is contained in:
parent
847c073b20
commit
14a9bcec4d
45
Makefile
45
Makefile
@ -1,46 +1,19 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the Apache License, Version 2.0 .
|
|
||||||
#
|
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=luci-app-argon-config
|
PKG_NAME:=luci-app-argon-config
|
||||||
LUCI_PKGARCH:=all
|
|
||||||
PKG_VERSION:=0.9
|
PKG_VERSION:=0.9
|
||||||
PKG_RELEASE:=20210309
|
PKG_RELEASE:=20210904
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
PKG_MAINTAINER:=jerrykuku <jerrykuku@qq.com>
|
||||||
|
|
||||||
define Package/luci-app-argon-config
|
LUCI_TITLE:=LuCI page for Argon Config
|
||||||
SECTION:=luci
|
LUCI_PKGARCH:=all
|
||||||
CATEGORY:=LuCI
|
LUCI_DEPENDS:=+luci-compat
|
||||||
SUBMENU:=3. Applications
|
|
||||||
TITLE:=LuCI page for Argon Config
|
define Package/$(PKG_NAME)/conffiles
|
||||||
PKGARCH:=all
|
/etc/config/argon
|
||||||
DEPENDS:=+luci-compat
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Prepare
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
endef
|
|
||||||
|
|
||||||
|
|
||||||
define Package/luci-app-argon-config/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/argon-config.po $(1)/usr/lib/lua/luci/i18n/argon-config.zh-cn.lmo
|
|
||||||
endef
|
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,luci-app-argon-config))
|
|
||||||
|
|
||||||
# call BuildPackage - OpenWrt buildroot signature
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user