require 'formula' class Libxmi < Formula homepage 'http://www.gnu.org/software/libxmi/' url 'http://ftpmirror.gnu.org/libxmi/libxmi-1.2.tar.gz' mirror 'http://ftp.gnu.org/libxmi/libxmi-1.2.tar.gz' sha1 '62fa13ec4c8b706729c2553122e44f81715f3c0b' bottle do cellar :any revision 1 sha1 "883a10b3f456d9ac39ca1442253a90167157b50c" => :yosemite sha1 "b7d2b8c174df9ac8b9e77aada7efe2e94384a913" => :mavericks sha1 "d21c5eb24647aa5d18f589ab4327c215df6383f6" => :mountain_lion end def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--infodir=#{info}" system "make install" end end