ports: Update zstd 1.5.6 -> 1.5.7
Also build using cmake because we can :)
This commit is contained in:
parent
f35a6b3922
commit
5972d40ced
|
@ -1,17 +1,20 @@
|
|||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='zstd'
|
||||
VERSION='1.5.6'
|
||||
DOWNLOAD_URL="https://github.com/facebook/zstd/releases/download/v$VERSION/zstd-$VERSION.tar.gz#8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1"
|
||||
VERSION='1.5.7'
|
||||
DOWNLOAD_URL="https://github.com/facebook/zstd/releases/download/v$VERSION/zstd-$VERSION.tar.gz#eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3"
|
||||
|
||||
configure() {
|
||||
:
|
||||
$BANAN_CMAKE -B _build -S build/cmake -G Ninja \
|
||||
--toolchain $BANAN_TOOLCHAIN_DIR/Toolchain.txt \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
build() {
|
||||
make -C lib -j$(nproc) lib-nomt || exit 1
|
||||
$BANAN_CMAKE --build _build ||exit 1
|
||||
}
|
||||
|
||||
install() {
|
||||
make -C lib install "DESTDIR=$BANAN_SYSROOT" PREFIX=/usr || exit 1
|
||||
$BANAN_CMAKE --install _build ||exit 1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue