require 'formula' class Yaz < Formula homepage 'http://www.indexdata.com/yaz' url 'http://ftp.indexdata.dk/pub/yaz/yaz-4.2.35.tar.gz' sha1 'ad499310754e31b32f66089b50ebbabc092ef0d4' depends_on 'pkg-config' => :build def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--with-xml2" system "make install" end end