#!/bin/sh -e

export DESTDIR="$1"

cmake -B build \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
    -DENABLE_CPP=ON \
    -DENABLE_QT5=OFF \
    -DWITH_NSS3=OFF

cmake --build   build
cmake --install build