ports: Add zstd port

This commit is contained in:
Bananymous 2025-01-23 21:58:15 +02:00
parent b6455e0661
commit d969f5df7b
1 changed files with 17 additions and 0 deletions

17
ports/zstd/build.sh Executable file
View File

@ -0,0 +1,17 @@
#!/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"
configure() {
:
}
build() {
make -C lib -j$(nproc) lib-nomt || exit 1
}
install() {
make -C lib install "DESTDIR=$BANAN_SYSROOT" PREFIX=/usr || exit 1
}