mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 14:13:30 +00:00
luci-app-unblockmusic: tidy up Makefile (#7442)
Signed-off-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>
This commit is contained in:
parent
19741fb812
commit
051dcb72bd
@ -1,9 +0,0 @@
|
||||
|
||||
config UnblockNeteaseMusic_Go
|
||||
bool "UnblockNeteaseMusic Golang Version"
|
||||
default y if i386||x86_64||arm||aarch64
|
||||
|
||||
config UnblockNeteaseMusic_NodeJS
|
||||
bool "UnblockNeteaseMusic NodeJS Version"
|
||||
depends on HAS_FPU || KERNEL_MIPS_FPU_EMULATOR || SOFT_FLOAT
|
||||
default n
|
@ -10,25 +10,35 @@ PKG_NAME:=luci-app-unblockmusic
|
||||
PKG_VERSION:=2.3.5
|
||||
PKG_RELEASE:=17
|
||||
|
||||
PKG_MAINTAINER:=lean
|
||||
|
||||
PKG_CONFIG_DEPENDS := \
|
||||
CONFIG_UnblockNeteaseMusic_Go \
|
||||
CONFIG_UnblockNeteaseMusic_NodeJS
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)/config
|
||||
source "$(SOURCE)/Config.in"
|
||||
endef
|
||||
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_UnblockNeteaseMusic_Go \
|
||||
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_UnblockNeteaseMusic_NodeJS
|
||||
|
||||
PKG_LICENSE:=Apache-2.0
|
||||
|
||||
LUCI_TITLE:=LuCI support for Unblock NeteaseCloudMusic
|
||||
LUCI_DEPENDS:=+dnsmasq-full +ipset +uclient-fetch +UnblockNeteaseMusic_NodeJS:UnblockNeteaseMusic +UnblockNeteaseMusic_Go:UnblockNeteaseMusicGo
|
||||
LUCI_PKGARCH:=all
|
||||
LUCI_DEPENDS:=+dnsmasq-full +ipset +uclient-fetch \
|
||||
+PACKAGE_$(PKG_NAME)_INCLUDE_UnblockNeteaseMusic_Go:UnblockNeteaseMusic-Go \
|
||||
+PACKAGE_$(PKG_NAME)_INCLUDE_UnblockNeteaseMusic_NodeJS:UnblockNeteaseMusic
|
||||
|
||||
PKG_MAINTAINER:=lean
|
||||
define Package/$(PKG_NAME)/config
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_INCLUDE_UnblockNeteaseMusic_Go
|
||||
bool "UnblockNeteaseMusic Golang Version"
|
||||
default y if i386||x86_64||arm||aarch64
|
||||
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_INCLUDE_UnblockNeteaseMusic_NodeJS
|
||||
bool "UnblockNeteaseMusic NodeJS Version"
|
||||
depends on HAS_FPU || KERNEL_MIPS_FPU_EMULATOR || SOFT_FLOAT
|
||||
default n
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/conffiles
|
||||
/etc/config/unblockmusic
|
||||
endef
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user