2010-08-29 17:58:12 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Metaproxy < Formula
|
2010-08-29 17:58:12 +00:00
|
|
|
homepage 'http://www.indexdata.com/metaproxy'
|
2012-12-01 14:42:06 +00:00
|
|
|
url 'http://ftp.indexdata.dk/pub/metaproxy/metaproxy-1.3.52.tar.gz'
|
|
|
|
sha1 '3577404bbe4bb05b8083aa1e88c0c2417c0bf183'
|
2010-08-29 17:58:12 +00:00
|
|
|
|
2012-10-27 04:35:35 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-08-29 17:58:12 +00:00
|
|
|
depends_on 'yazpp'
|
2012-10-27 04:35:35 +00:00
|
|
|
depends_on 'boost149'
|
2010-08-29 17:58:12 +00:00
|
|
|
|
|
|
|
def install
|
2012-10-27 04:35:35 +00:00
|
|
|
old_boost = Formula.factory("boost149")
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-boost=#{old_boost.prefix}"
|
2010-08-29 17:58:12 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|