repo/extra/libjpeg-turbo/build

15 lines
251 B
Plaintext
Raw Normal View History

2019-07-18 02:07:59 -06:00
#!/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
2019-08-11 12:23:51 -06:00
# Remove docs.
rm -rf "$1/usr/share/doc"