Skip to content

Instantly share code, notes, and snippets.

@mistydemeo
Created May 22, 2012 21:44
Show Gist options
  • Save mistydemeo/2771825 to your computer and use it in GitHub Desktop.
Save mistydemeo/2771825 to your computer and use it in GitHub Desktop.
def install
pwd = Dir.pwd
cd ".." do
mv pwd, "src"
mkdir pwd
mkdir pwd + "/build"
mv "src", pwd
end
#We only build creative tools (krita and karbon)
system "cmake ../src #{std_cmake_parameters} -DCREATIVEONLY=ON -DEIGEN2_INCLUDE_DIR=#{Formula.factory("eigeni2").include/"eigen2"}"
system "make install" # if this fails, try separate make/make install steps
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment