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