homebrew-core/Formula/juise.rb

27 lines
676 B
Ruby
Raw Normal View History

require 'formula'
class Juise < Formula
homepage 'http://code.google.com/p/juise/'
url 'http://juise.googlecode.com/files/juise-0.3.19.tar.gz'
sha1 'a1877a2a0c35f23e37ae37ae2b7190d68fa14afe'
depends_on 'libtool' => :build
depends_on 'libslax'
depends_on 'libssh2'
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}",
"--with-libssh2-prefix=#{HOMEBREW_PREFIX}"
system "make install"
end
end