aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJohannes Wienke2015-01-01 12:43:24 +0100
committerMike McQuaid2015-01-01 15:31:42 +0000
commitfd80f3e7e594795e2c5f4b7cbe8681d171bdd1eb (patch)
treed4fca6043ba5db4ecbd9b73782d56e3ce54937a0 /Library
parent24d6ae2ecfb07441dd3eb67e422f892f993ed9bc (diff)
downloadhomebrew-fd80f3e7e594795e2c5f4b7cbe8681d171bdd1eb.tar.bz2
loudmouth: add HEAD.
Adds the required sections for building loudmouth from git. Closes #35415. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/loudmouth.rb25
1 files changed, 22 insertions, 3 deletions
diff --git a/Library/Formula/loudmouth.rb b/Library/Formula/loudmouth.rb
index 8dc1fcc78..8ef9024ce 100644
--- a/Library/Formula/loudmouth.rb
+++ b/Library/Formula/loudmouth.rb
@@ -14,6 +14,22 @@ class Loudmouth < Formula
sha1 "0b77821cecfa2ea9e3cd9789c21b2e8857f43be0" => :mountain_lion
end
+ head "https://github.com/mcabber/loudmouth.git"
+
+ head do
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+
+ # Fixes configure.ac subdir-objects for recent autoconf version
+ # Remove this once the following pull request has been applied to master
+ # https://github.com/mcabber/loudmouth/pull/11
+ patch do
+ url "https://github.com/languitar/loudmouth/commit/f22dd6.diff"
+ sha1 "776f6c20259579e542ef588570956f26d71a46e5"
+ end
+ end
+
depends_on "pkg-config" => :build
depends_on "glib"
depends_on "libidn"
@@ -22,12 +38,15 @@ class Loudmouth < Formula
# Fix compilation on 10.9. Sent upstream:
# https://github.com/mcabber/loudmouth/pull/9
# Has been merged and will be in next release, if there is one.
- patch do
- url "https://github.com/mcabber/loudmouth/commit/369844a0fc.diff"
- sha1 "e52ee2e24a06ebea52b90866a347daf1f1d28382"
+ stable do
+ patch do
+ url "https://github.com/mcabber/loudmouth/commit/369844a0fc.diff"
+ sha1 "e52ee2e24a06ebea52b90866a347daf1f1d28382"
+ end
end
def install
+ system "./autogen.sh", "-n" if build.head?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--with-ssl=gnutls"
system "make", "install"