require 'formula' class Cimg < Formula homepage 'http://cimg.sourceforge.net/' url 'http://downloads.sourceforge.net/cimg/CImg-1.5.5.zip' sha1 '163c4f3821d629f88fe24f0767c8fcdbb5245cfa' def install include.install 'CImg.h' doc.install %w( README.txt Licence_CeCILL-C_V1-en.txt Licence_CeCILL_V2-en.txt html examples) end end