#!/bin/sh -e mkdir build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr make make DESTDIR="$1" install