update all scripts

This commit is contained in:
wt
2026-03-06 18:01:24 +07:00
parent c9bb397d65
commit d065fa6e04
26 changed files with 218 additions and 33 deletions
+10 -3
View File
@@ -6,12 +6,19 @@
zlib() {
pkgname=zlib
pkgver=1.3.1
srcurl=https://www.zlib.net/zlib-1.3.1.tar.gz
pkgver=1.3.2
srcurl=https://www.zlib.net/${pkgname}-${pkgver}.tar.gz
print_info "** Building and installing ${pkgname}"
[ -d $build/${pkgname} ] && return 0
mkdir $build/${pkgname}
mkdir -p $build/${pkgname}
cd $build/${pkgname}
if [ ! -f $root/downloads/${pkgname}-${pkgver}.tar.gz ]; then
print_info "** Downloading $srcurl"
cd $root/downloads
wget $srcurl
check $? "download $srcurl"
cd -
fi
tar -xf $root/downloads/${pkgname}-${pkgver}.tar.gz
check $? "Extract ${pkgname}"
cd ${pkgname}-${pkgver}