aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAndreas Pfohl2014-12-14 10:19:44 +0100
committerMike McQuaid2014-12-14 09:49:14 +0000
commit0bcc911ef509e4fbc8e5e0c6a15d5c6316518df0 (patch)
tree5f477dc18ddf43b63ae28f7cc2f2bad5f3f0d9b5 /Library/Formula
parent8d8bca72437591b37907b5ee2f5a1979fbe9c181 (diff)
downloadhomebrew-0bcc911ef509e4fbc8e5e0c6a15d5c6316518df0.tar.bz2
kore 1.2.1
Release of Kore 1.2.1 Closes #34954. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/kore.rb20
1 files changed, 4 insertions, 16 deletions
diff --git a/Library/Formula/kore.rb b/Library/Formula/kore.rb
index ebd9290aa..6953e9ff5 100644
--- a/Library/Formula/kore.rb
+++ b/Library/Formula/kore.rb
@@ -2,33 +2,21 @@ require "formula"
class Kore < Formula
homepage "https://kore.io/"
- url "https://kore.io/release/kore-1.2-stable.tgz"
- sha1 "cb7f9eb7151d612d9acffc5eed1d79c296baeeba"
+ url "https://kore.io/release/kore-1.2.1-release.tgz"
+ sha1 "7af8d3d651657e54cee4d90c9be33e9bde8a0727"
head "https://github.com/jorisvink/kore.git"
- bottle do
- sha1 "d0423698323272274a2642e19176696fec6003cd" => :yosemite
- sha1 "cb230b9303f4c8201ad78a4a28da5fb5083dbfdb" => :mavericks
- sha1 "6742b88959e925e0416f734d55913923a836d1da" => :mountain_lion
- end
-
depends_on "openssl"
depends_on "postgresql" => :recommended
def install
args = []
- # The following inreplaces are a workaround. An upstream pull request has been
- # created to solve this problem. (https://github.com/jorisvink/kore/pull/25)
- inreplace "src/cli.c", / = "-I\/usr\/local\/include";/, " = \"-I#{include}\";"
- inreplace "Makefile", /\/usr\/local/, prefix
-
args << "PGSQL=1" if build.with? "postgresql"
- system "make", "TASKS=1", *args
- bin.mkdir
- system "make", "install"
+ system "make", "PREFIX=#{prefix}", "TASKS=1", *args
+ system "make", "install", "PREFIX=#{prefix}"
end
test do