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