2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-28 01:38:39 +00:00
|
|
|
|
|
|
|
# NOTE this formula conflicts with icu4c on Snow Leopard at the moment
|
|
|
|
# if this is a problem for you then please fix it! Thanks.
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Yaz < Formula
|
2011-08-03 21:41:08 +00:00
|
|
|
url 'http://ftp.indexdata.dk/pub/yaz/yaz-4.2.7.tar.gz'
|
2009-09-28 01:38:39 +00:00
|
|
|
homepage 'http://www.indexdata.com/yaz'
|
2011-08-03 21:41:08 +00:00
|
|
|
md5 '7bb9d007ce288b6c4095bd3a1f9ef627'
|
2011-03-04 19:51:05 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
2009-09-28 01:38:39 +00:00
|
|
|
|
|
|
|
def install
|
2011-03-04 19:51:05 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-xml2"
|
2009-09-28 01:38:39 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|