61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
23 lines
753 B
Ruby
23 lines
753 B
Ruby
require 'formula'
|
|
|
|
class Zebra <Formula
|
|
url 'http://ftp.indexdata.dk/pub/zebra/idzebra-2.0.42.tar.gz'
|
|
homepage 'http://www.indexdata.com/zebra'
|
|
md5 '187545f515001ad4447cf5901bfc7d62'
|
|
|
|
depends_on 'yaz'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--enable-mod-text",
|
|
"--enable-mod-grs-regx",
|
|
"--enable-mod-grs-marc",
|
|
"--enable-mod-grs-xml",
|
|
"--enable-mod-dom",
|
|
"--enable-mod-alvis",
|
|
"--enable-mod-safari"
|
|
system "make install"
|
|
end
|
|
end
|