Files
tigerbrew/Library/Formula/juise.rb
T
Brandon Bennett 6c35a96d4e juise 0.5.3
Closes #21124.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-11 06:41:33 -07:00

28 lines
858 B
Ruby

require 'formula'
class Juise < Formula
homepage 'https://github.com/Juniper/juise/wiki'
url 'https://github.com/Juniper/juise/releases/0.5.3/3012/juise-0.5.3.tar.gz'
sha1 'aacc8414f0ce278bc080ce3b41225a94e3000173'
head 'https://github.com/Juniper/juise.git'
depends_on 'automake' => :build if build.head?
depends_on 'libtool' => :build
depends_on 'libslax'
depends_on 'libssh2'
depends_on 'pcre'
depends_on 'sqlite'
def install
# If build from read run script to run autoconf
system "sh ./bin/setup.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-libssh2-prefix=#{HOMEBREW_PREFIX}",
"--with-sqlite3-prefix=#{Formula.factory('sqlite').opt_prefix}"
system "make install"
end
end