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"