Sfoglia il codice sorgente

lua-neturl: make pkg release apk compatible.

1、lua-neturl: CI 使用的分支 ImmortalWrt 已默认编译 APK,如不修改,会使 CI 编译失败并同时导致 CI 编译luci-app-ssr-plus失败。
2、luci-app-ssr-plus: 编译错误如下:
```
./etc/init.d/shadowsocksr: uci command not found
grep: /tmp/dnasmq.conf: not such file or directory
```
Co-authored-by: Tianling Shen <[email protected]>
Co-authored-by: Zxl hhyccc <[email protected]>
zxlhhyccc 11 mesi fa
parent
commit
53df51197b
1 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  1. 6 4
      lua-neturl/Makefile

+ 6 - 4
lua-neturl/Makefile

@@ -5,12 +5,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=neturl
-PKG_VERSION:=1.1-1
-PKG_RELEASE:=3
+PKG_REAL_VERSION:=1.1-1
+PKG_VERSION:=$(subst -,.,$(PKG_REAL_VERSION))
+PKG_RELEASE:=4
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/golgote/neturl/tar.gz/v$(PKG_VERSION)?
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_REAL_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/golgote/neturl/tar.gz/v$(PKG_REAL_VERSION)?
 PKG_HASH:=25f3a94ba9f435ef1395555de2bf17d6f934d789fa515ed965405919e42be27b
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REAL_VERSION)
 
 PKG_MAINTAINER:=Tianling Shen <[email protected]>
 PKG_LICENSE:=MIT