require 'formula' class Lensfun < Formula homepage 'http://lensfun.berlios.de' head 'svn://svn.berlios.de/lensfun/trunk' url 'http://sourceforge.net/projects/lensfun.berlios/files/lensfun-0.2.8.tar.bz2/download' sha1 '0e85eb7692620668d27e2303687492ad68c90eb4' depends_on 'doxygen' => :optional depends_on 'glib' depends_on :libpng depends_on 'pkg-config' => :build def install system "./configure", "--prefix=#{prefix}" system "make", "install" end end