mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-06 05:17:52 +00:00
17 lines
461 B
Plaintext
17 lines
461 B
Plaintext
|
#!/bin/bash
|
||
|
set -e
|
||
|
sudo apt-get update
|
||
|
sudo apt-get -y install \
|
||
|
build-essential cmake \
|
||
|
zlib1g-dev libjpeg-dev libgnutls28-dev libssl-dev
|
||
|
|
||
|
cmake -S . -B build \
|
||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/tmp/inst
|
||
|
cmake --build build -j$(nproc)
|
||
|
cmake --install build
|
||
|
env PKG_CONFIG_PATH=/tmp/inst/lib/pkgconfig \
|
||
|
LD_LIBRARY_PATH=/tmp/inst/lib \
|
||
|
CMAKE_PREFIX_PATH=/tmp/inst \
|
||
|
PATH=/tmp/inst/bin:$PATH \
|
||
|
./pkg-test/run-all
|