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-07-07 16:50:45 +00:00
|
|
|
head 'https://github.com/Juniper/juise.git'
|
|
|
|
|
|
|
|
depends_on 'automake' => :build if build.head?
|
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
|