2012-08-12 17:25:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Juise < Formula
|
|
|
|
homepage 'http://code.google.com/p/juise/'
|
2012-11-27 01:53:44 +00:00
|
|
|
url 'http://juise.googlecode.com/files/juise-0.3.16.tar.gz'
|
|
|
|
sha1 '02b978d81e54394ad57b8c1d266e350561833a66'
|
2012-08-12 17:25:41 +00:00
|
|
|
|
|
|
|
depends_on 'libtool' => :build
|
|
|
|
depends_on 'libslax'
|
2012-10-30 19:57:41 +00:00
|
|
|
depends_on 'libssh2'
|
2012-08-12 17:25:41 +00:00
|
|
|
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",
|
2012-10-30 19:57:41 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-libssh2-prefix=#{HOMEBREW_PREFIX}"
|
2012-08-12 17:25:41 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|