2011-10-18 23:22:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libmxml < Formula
|
|
|
|
homepage 'http://www.minixml.org/'
|
2012-06-27 19:19:32 +00:00
|
|
|
url 'http://ftp.easysw.com/pub/mxml/2.7/mxml-2.7.tar.gz'
|
|
|
|
sha1 'a3bdcab48307794c297e790435bcce7becb9edae'
|
2011-10-18 23:22:28 +00:00
|
|
|
|
2012-10-10 15:53:42 +00:00
|
|
|
depends_on :xcode # for docsetutil
|
|
|
|
|
2011-10-18 23:22:28 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--enable-shared",
|
|
|
|
"--prefix=#{prefix}"
|
2012-06-27 19:19:32 +00:00
|
|
|
|
|
|
|
# Makefile hard-codes the path to /Developer
|
|
|
|
inreplace "Makefile", "/Developer/usr/bin/docsetutil", MacOS.locate('docsetutil')
|
|
|
|
|
2011-10-18 23:22:28 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|