1 2 3 4 5 6 7 8
PREFIX=${PREFIX:-/usr} default_build () { OPTS+=" -DBUILD_SHARED_LIBS=1" cmake_build } default_install () { cmake_install }