require 'formula' class Juise < Formula homepage 'http://code.google.com/p/juise/' url 'http://juise.googlecode.com/files/juise-0.3.10.tar.gz' sha1 '1e3c0f5e98ee3f499b5180512cc98e294c551fde' depends_on 'libtool' => :build depends_on 'libslax' depends_on 'pcre' # Need newer versions of these libraries if MacOS.version <= :lion depends_on 'libxml2' depends_on 'libxslt' depends_on 'curl' end def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end