import 'compile/cmake' name=yajl version=2.1.0 update_url="https://github.com/lloyd/$name/releases" update_names="/archive/$version.tar.gz" dlextract "https://github.com/lloyd/$name/archive/$version.tar.gz" \ '6887e0ed7479d2549761a4d284d3ecb0' header_end cd "$name-$version" # Fix install dirs sed -i -e "s/lib\${LIB_SUFFIX}/$(safe_sed "$dir_libdir")/" \ -e "/INSTALL(/s/share/$(safe_sed "$dir_datadir")/" src/CMakeLists.txt sed -i -e "/INSTALL(/s/bin/$(safe_sed "$dir_bindir")/" \ verify/CMakeLists.txt reformatter/CMakeLists.txt compile_cmake # vim:set tabstop=4 shiftwidth=4 syntax=sh et: