ports: Update zstd 1.5.6 -> 1.5.7

Also build using cmake because we can :)
This commit is contained in:
Bananymous 2025-08-01 23:02:29 +03:00
parent f35a6b3922
commit 5972d40ced
1 changed files with 8 additions and 5 deletions

View File

@ -1,17 +1,20 @@
#!/bin/bash ../install.sh #!/bin/bash ../install.sh
NAME='zstd' NAME='zstd'
VERSION='1.5.6' VERSION='1.5.7'
DOWNLOAD_URL="https://github.com/facebook/zstd/releases/download/v$VERSION/zstd-$VERSION.tar.gz#8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1" DOWNLOAD_URL="https://github.com/facebook/zstd/releases/download/v$VERSION/zstd-$VERSION.tar.gz#eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3"
configure() { configure() {
: $BANAN_CMAKE -B _build -S build/cmake -G Ninja \
--toolchain $BANAN_TOOLCHAIN_DIR/Toolchain.txt \
-DCMAKE_INSTALL_PREFIX=/usr \
|| exit 1
} }
build() { build() {
make -C lib -j$(nproc) lib-nomt || exit 1 $BANAN_CMAKE --build _build ||exit 1
} }
install() { install() {
make -C lib install "DESTDIR=$BANAN_SYSROOT" PREFIX=/usr || exit 1 $BANAN_CMAKE --install _build ||exit 1
} }