From 05ff90bf2f1e71597ff467f2714fedeb42c43a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BB=E5=8C=97=E5=86=B5=E5=BD=92?= <2692032597@qq.com> Date: Thu, 23 Nov 2023 17:23:52 +0000 Subject: [PATCH] update thirdparty/xz/HPKBUILD. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 离北况归 <2692032597@qq.com> --- thirdparty/xz/HPKBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/thirdparty/xz/HPKBUILD b/thirdparty/xz/HPKBUILD index a78baa98..21ff4b3b 100644 --- a/thirdparty/xz/HPKBUILD +++ b/thirdparty/xz/HPKBUILD @@ -24,6 +24,9 @@ license=("public domain" "LGPLv2.1" "GPLv2" "GPLv3") depends=() makedepends=() + + + # 官方下载地址https://tukaani.org/$pkgname/$pkgname-$pkgver.tar.gz受网络影响可能存在下载失败的情况,现使用gitee镜像可以与官方仓库保持同步 source="https://gitee.com/lycium_pkg_mirror/$pkgname/repository/archive/$pkgver.zip" @@ -31,6 +34,8 @@ autounpack=true downloadpackage=true buildtools="configure" + + builddir=$pkgname-${pkgver} packagename=$builddir.zip @@ -38,6 +43,8 @@ source envset.sh host= autogenflags=true + + prepare() { mkdir -p $builddir/$ARCH-build if [ $ARCH == "armeabi-v7a" ] @@ -60,6 +67,8 @@ prepare() { fi } + + build() { cd $builddir/$ARCH-build ../configure "$@" --host=$host --disable-xzdec --disable-lzmadec \ -- Gitee