PREFIX=${PREFIX:-/usr} default_build () { OPTS+=" -DBUILD_SHARED_LIBS=1" cmake_build } default_install () { cmake_install }