aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSimon2012-05-18 12:55:52 +0100
committerJack Nagel2012-05-20 15:52:44 -0500
commit73f6debb96a63f3ae188d85c0dd3270eb96d3cbe (patch)
treea1fcc5785de65dda9c41b8fcc123fee4ad60e62d /Library
parentded10e50116a6936bb0ee09db18e57317ebce37c (diff)
downloadhomebrew-73f6debb96a63f3ae188d85c0dd3270eb96d3cbe.tar.bz2
nzbget 0.8.0
- Mark as fails_with :clang due to libpar2 dependency. Closes #12319. [jn: add cause to fails_with block] Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/nzbget.rb14
1 files changed, 12 insertions, 2 deletions
diff --git a/Library/Formula/nzbget.rb b/Library/Formula/nzbget.rb
index 5ee630460..b027d5e2e 100644
--- a/Library/Formula/nzbget.rb
+++ b/Library/Formula/nzbget.rb
@@ -1,9 +1,9 @@
require 'formula'
class Nzbget < Formula
- url 'http://downloads.sourceforge.net/project/nzbget/nzbget-stable/0.7.0/nzbget-0.7.0.tar.gz'
homepage 'http://sourceforge.net/projects/nzbget/'
- md5 '27971846aba75f5e312d80dce7edbc5d'
+ url 'http://downloads.sourceforge.net/project/nzbget/nzbget-stable/0.8.0/nzbget-0.8.0.tar.gz'
+ md5 'c47f464fe988deeb4fc5381506c1fbe3'
head 'https://nzbget.svn.sourceforge.net/svnroot/nzbget/trunk', :using => :svn
# Also depends on libxml2 but the one in OS X is fine
@@ -12,9 +12,19 @@ class Nzbget < Formula
depends_on 'libpar2'
depends_on 'gnutls'
+ fails_with :clang do
+ build 318
+ cause <<-EOS.undent
+ Configure errors out when testing the libpar2 headers because
+ Clang does not support flexible arrays of non-POD types.
+ EOS
+ end
+
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
+
+ prefix.install 'nzbget.conf.example', 'postprocess-example.conf'
end
end