2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 00:30:06 -07:00
repo/extra/libjpeg-turbo/build
2023-03-05 17:34:06 -06:00

16 lines
279 B
Bash
Executable File

#!/bin/sh -e
export DESTDIR="$1"
patch -p1 < no-docs.patch
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_JPEG8=1
cmake --build build
cmake --install build