1 2 3 4 5 6 7 8 9 10
#!/bin/sh -e export DESTDIR="$1" cmake source \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release cmake --build . cmake --install .