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'
|
2012-07-16 05:57:27 +00:00
|
|
|
url 'http://ftp.indexdata.dk/pub/yaz/yaz-4.2.35.tar.gz'
|
|
|
|
sha1 'ad499310754e31b32f66089b50ebbabc092ef0d4'
|
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
|