| 123456789101112131415161718192021 |
- #!/bin/bash
- set -e
- # Zstd install script
- # Installs zstd with proper prefix configuration
- build_dir=$1
- install_dir=$2
- install_type=$3
- # With simpleBuildEnvironment flag, we're already in build directory
- # Source is in sources/zstd relative to package root
- src_dir="sources/zstd"
- echo "Installing zstd..."
- make -C ${src_dir} prefix=${DESTDIR}${PREFIX} install
- echo "Removing static library..."
- rm -v ${DESTDIR}${LIBDIR}/libzstd.a
- echo "Installation complete."
|