import 'compile/cmake' name=maim version=3.4.47 update_url="https://github.com/naelstrof/$name/releases" dlextract "https://github.com/naelstrof/$name/archive/v$version.tar.gz" \ '5eab9c6fe147c7c3ff246fa764e7c2d1' header_end cd "$name-$version" # Fix paths sed -i -e "s/\${CMAKE_INSTALL_PREFIX}\/bin/\${CMAKE_INSTALL_PREFIX}\/$(safe_sed "$dir_bindir")/" CMakeLists.tx # This project doesn't use GNUInstallDir's CMAKE_INSTALL_* compile_cmake -- -DCMAKE_INSTALL_MANDIR="/$dir_prefix/$dir_mandir" # vim:set tabstop=4 shiftwidth=4 syntax=sh et: