pkg:setup resource("mbelib-1.2.5").stage do inreplace "CMakeLists.txt", "install(TARGETS mbe-static mbe-shared DESTINATION lib)", "install(TARGETS mbe-static DESTINATION lib)" args = std_cmake_args args << "-DCMAKE_INSTALL_PREFIX=#{buildpath}/vendor/mbelib" cmake . *args make DESTDIR=${PKG_DEST} install