repo/extra/libjpeg-turbo/build
2021-07-06 11:06:08 +03: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