diff options
| author | Aubin Paul | 2014-07-21 14:41:21 -0400 |
|---|---|---|
| committer | Mike McQuaid | 2014-07-21 20:37:32 +0100 |
| commit | 65a523e1c3d940c364bc5039a5ce070a0e59c239 (patch) | |
| tree | 813b2b49cc7de54ecef0870d8592d14982a6298d /Library | |
| parent | 6dc64dc4a042fe2b49fa5d9adb5ee0d46d7564c7 (diff) | |
| download | homebrew-65a523e1c3d940c364bc5039a5ce070a0e59c239.tar.bz2 | |
nzbget 13.0
- As per the release notes for 0.13.0, NZBGet upstream suggests using
libpar2 as it is maintained by Debian/Ubuntu team and has the patches
(and other fixes) already applied
- Details here: http://nzbget.net/forum/viewtopic.php?f=4&t=1306
- Fixes #31015
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nzbget.rb | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/Library/Formula/nzbget.rb b/Library/Formula/nzbget.rb index 19eb48c61..fd08c81b1 100644 --- a/Library/Formula/nzbget.rb +++ b/Library/Formula/nzbget.rb @@ -19,22 +19,13 @@ class Nzbget < Formula end resource "libpar2" do - url "https://downloads.sourceforge.net/project/parchive/libpar2/0.2/libpar2-0.2.tar.gz" - sha1 "4b3da928ea6097a8299aadafa703fc6d59bdfb4b" - end - - # Bugfixes and ability to cancel par2 repair - resource "libpar2_patch" do - url "https://gist.githubusercontent.com/Smenus/4576230/raw/e722f2113195ee9b8ee67c1c424aa3f2085b1066/libpar2-0.2-nzbget.patch" - sha1 "0dca03f42c0997fd6b537a7dc539d705afb76157" + url "https://launchpad.net/libpar2/trunk/0.4/+download/libpar2-0.4.tar.gz" + sha1 "c4a5318edac0898dcc8b1d90668cfca2ccfe0375" end def install resource("libpar2").stage do - buildpath.install resource("libpar2_patch") - system "patch -p1 < #{buildpath}/libpar2-0.2-nzbget.patch" - - system "./configure", "--disable-debug", "--disable-dependency-tracking", + system "./configure", "--disable-dependency-tracking", "--prefix=#{libexec}/lp2" system "make install" end |
