mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
18 lines
409 B
Bash
Executable File
18 lines
409 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
|
|
INSTALL_PREFIX="$1"
|
|
EXTRA_CMAKE_OPTS="$2"
|
|
|
|
cd "$SCRIPTPATH/.."
|
|
|
|
if [[ ! -d rz-silhouette ]]; then
|
|
git clone https://github.com/rizinorg/rz-silhouette.git --depth 1 rz-silhouette
|
|
fi
|
|
|
|
cd rz-silhouette
|
|
|
|
meson --buildtype=release --pkg-config-path="$INSTALL_PREFIX/lib/pkgconfig" --prefix="$INSTALL_PREFIX" build
|
|
ninja -C build install
|