2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00
repo/extra/libjpeg-turbo/build

16 lines
279 B
Plaintext
Raw Normal View History

2019-07-18 02:07:59 -06:00
#!/bin/sh -e
2023-03-02 07:40:00 -07:00
export DESTDIR="$1"
2021-07-06 02:06:08 -06:00
patch -p1 < no-docs.patch
2019-11-12 19:36:33 -07:00
cmake -B build \
2019-07-18 02:07:59 -06:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_JPEG8=1
2019-11-12 19:36:33 -07:00
cmake --build build
cmake --install build