mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 11:28:56 +00:00
60f1f4537f
Download external libraries from an isolated branch in github to avoid dependencies on external download locations, which cause sporadic CI build failures.
16 lines
369 B
Bash
Executable File
16 lines
369 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
curl -L https://github.com/qpdf/qpdf/raw/external-libs/jpegsrc.v9c.tar.gz -o jpegsrc.v9c.tar.gz
|
|
tar xzf jpegsrc.v9c.tar.gz
|
|
cd jpeg-9c
|
|
./configure
|
|
make -k
|
|
sudo make install
|
|
cd ..
|
|
if [ -f distfiles/distfiles.zip ]; then
|
|
unzip distfiles/distfiles.zip
|
|
fi
|
|
./configure --enable-werror --enable-show-failed-test-output
|
|
make -j$(nproc) -k
|
|
make -k check
|