2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 07:40:11 -07:00
repo/extra/libjpeg-turbo/build
2019-08-11 18:23:51 +00:00

15 lines
251 B
Bash
Executable File

#!/bin/sh -e
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_JPEG8=1
make
make DESTDIR="$1" install
# Remove docs.
rm -rf "$1/usr/share/doc"