import 'compile/cmake' name=jsoncpp version=1.7.7 update_url="https://github.com/open-source-parsers/$name/releases" update_names="/archive/$version.tar.gz" dlextract "https://github.com/open-source-parsers/$name/archive/$version.tar.gz" \ '9b51c65c563463220a8cb5fa33d525f8' header_end cd "$name-$version" # Fix paths sed -i -e "s/lib\${LIB_SUFFIX}\/pkgconfig/$(safe_sed "$dir_libdir/pkgconfig")/" CMakeLists.txt compile_cmake -- \ -DBUILD_SHARED_LIBS=ON \ -DBUILD_STATIC_LIBS=OFF \ -DRUNTIME_INSTALL_DIR="/$dir_prefix/$dir_bindir" \ -DLIBRARY_INSTALL_DIR="/$dir_prefix/$dir_libdir" # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: