homebrew-core/Formula/juise.rb

37 lines
1.1 KiB
Ruby
Raw Normal View History

require 'formula'
class Juise < Formula
homepage 'https://github.com/Juniper/juise/wiki'
2014-10-05 18:17:05 +00:00
url 'https://github.com/Juniper/juise/releases/download/0.6.1/juise-0.6.1.tar.gz'
sha1 '9180619ffc67c7b3ebbdd003d9010328e7513527'
bottle do
sha1 "a8acedc9b48bc87a2daa4da9e81f17693d08fc32" => :mavericks
sha1 "eaf3ecb17214b7319a96409fe1180de8ca2134ac" => :mountain_lion
sha1 "e99ad8fe4f05ecd24773633cef6cd25109df936e" => :lion
end
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