2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 07:40:11 -07:00
repo/extra/zstd/build
2021-07-03 21:05:22 +00:00

15 lines
214 B
Bash
Executable File

#!/bin/sh -e
sed 's/^FLAGS.*=/FLAGS = -static /' programs/Makefile > _
mv -f _ programs/Makefile
make \
HAVE_LZMA=0 \
HAVE_ZLIB=0 \
HAVE_LZ4=0
make \
DESTDIR="$1" \
PREFIX=/usr \
install