homebrew-core/Formula/juise.rb

31 lines
889 B
Ruby
Raw Normal View History

require 'formula'
class Juise < Formula
homepage 'https://github.com/Juniper/juise/wiki'
url 'https://github.com/Juniper/juise/releases/download/0.5.10/juise-0.5.10.tar.gz'
sha1 'c4427d3ddc566afd5e90895b22dd366566d7251a'
2013-09-22 01:47:03 +00:00
head do
url 'https://github.com/Juniper/juise.git'
2013-11-13 17:01:29 +00:00
depends_on 'autoconf' => :build
2013-09-22 01:47:03 +00:00
depends_on 'automake' => :build
end
2014-02-25 14:51:11 +00:00
depends_on 'libtool' => :build
depends_on 'libslax'
depends_on 'libssh2'
depends_on 'pcre'
depends_on 'sqlite'
def install
system "sh ./bin/setup.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-libssh2-prefix=#{HOMEBREW_PREFIX}",
2014-02-25 14:51:11 +00:00
"--with-sqlite3-prefix=#{Formula["sqlite"].opt_prefix}",
"--enable-libedit"
system "make install"
end
end