require 'formula' class Cimg < Formula homepage 'http://cimg.sourceforge.net/' url 'http://downloads.sourceforge.net/cimg/CImg-1.5.2.zip' sha1 'd1323ce2e758f96c505dd68e5f58a9f6bd51a93c' 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