pkg:setup args = std_cmake_args args << "-DCMAKE_INSTALL_NAME_DIR=#{lib}" cmake . *args make DESTDIR=${PKG_DEST} install