2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-28 01:38:39 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Yaz < Formula
|
2009-09-28 01:38:39 +00:00
|
|
|
homepage 'http://www.indexdata.com/yaz'
|
2013-10-19 23:33:39 +00:00
|
|
|
url 'http://ftp.indexdata.dk/pub/yaz/yaz-5.0.2.tar.gz'
|
|
|
|
sha1 '587bd687e063de26546fd643b541be81842a8989'
|
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
|