require 'formula' class Metaproxy < Formula homepage 'http://www.indexdata.com/metaproxy' url 'http://ftp.indexdata.dk/pub/metaproxy/metaproxy-1.3.50.tar.gz' sha1 'b91dea6b813d89a73fcb6b53d22c4ee159f4cfec' depends_on 'pkg-config' => :build depends_on 'yazpp' depends_on 'boost149' def install old_boost = Formula.factory("boost149") system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--with-boost=#{old_boost.prefix}" system "make install" end end