#!/bin/sh set -eu depot_build() { ( cd bindings/cpp autoreconf -fiv ) autoreconf -fiv ./configure \ --prefix=/usr \ --enable-cxx # Parallel builds can break with the C++ bindings: # https://github.com/PortAudio/portaudio/issues/540 make -j1 } depot_install() { make DESTDIR="$DESTDIR" install }