1 2 3 4
pkg:setup mkdir "build" && cd build cmake .. -DCMAKE_OSX_SYSROOT=#{MacOS.sdk_path} -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} make DESTDIR=${PKG_DEST} install