require 'formula' class Libmetalink < Formula homepage 'https://launchpad.net/libmetalink/' url 'https://launchpad.net/libmetalink/trunk/packagingfix/+download/libmetalink-0.1.2.tar.bz2' sha1 'fcc8c7960758c040b8b5f225efeb3f22bff14e40' depends_on 'pkg-config' => :build def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end