2012-08-12 17:25:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Juise < Formula
|
2013-07-07 16:50:45 +00:00
|
|
|
homepage 'https://github.com/Juniper/juise/wiki'
|
2013-09-02 01:39:07 +00:00
|
|
|
url 'https://github.com/Juniper/juise/releases/download/0.5.8/juise-0.5.8.tar.gz'
|
|
|
|
sha1 '4529b0d5cf08185d0f9e991aea8fc62468290d9c'
|
2012-08-12 17:25:41 +00:00
|
|
|
|
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
|
2013-07-07 16:50:45 +00:00
|
|
|
|
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'
|
2013-07-07 16:50:45 +00:00
|
|
|
depends_on 'sqlite'
|
2012-08-12 17:25:41 +00:00
|
|
|
|
|
|
|
def install
|
2013-07-07 16:50:45 +00:00
|
|
|
system "sh ./bin/setup.sh" if build.head?
|
2012-08-12 17:25:41 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2012-10-30 19:57:41 +00:00
|
|
|
"--prefix=#{prefix}",
|
2013-07-07 16:50:45 +00:00
|
|
|
"--with-libssh2-prefix=#{HOMEBREW_PREFIX}",
|
2013-09-02 01:39:07 +00:00
|
|
|
"--with-sqlite3-prefix=#{Formula.factory('sqlite').opt_prefix}",
|
|
|
|
"--enable-libedit"
|
2012-08-12 17:25:41 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|