aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorantbryan2013-04-23 22:37:34 -0300
committerAdam Vandenberg2013-05-29 21:01:34 -0700
commit49fce38e131977b9678d3e60015d4be8b1a20aaa (patch)
treeca97b17f87fa84225ea3aa1cabe2d50c64f09bec /Library
parent9c5382698df54c036ec64bf0908ce1bc42d4cdc2 (diff)
downloadhomebrew-49fce38e131977b9678d3e60015d4be8b1a20aaa.tar.bz2
aria2 1.17.1
Closes #19392. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/aria2.rb11
1 files changed, 9 insertions, 2 deletions
diff --git a/Library/Formula/aria2.rb b/Library/Formula/aria2.rb
index 85766df9d..4cb9d6f98 100644
--- a/Library/Formula/aria2.rb
+++ b/Library/Formula/aria2.rb
@@ -2,8 +2,10 @@ require 'formula'
class Aria2 < Formula
homepage 'http://aria2.sourceforge.net/'
- url 'http://downloads.sourceforge.net/project/aria2/stable/aria2-1.16.5/aria2-1.16.5.tar.bz2'
- sha1 '04ce2ae2f6500f6bb49c926e414ddc9c1a6059c3'
+ url 'http://downloads.sourceforge.net/project/aria2/stable/aria2-1.17.1/aria2-1.17.1.tar.bz2'
+ sha1 'a40730013501554cdb0ce2b56a919f3ee971c06e'
+
+ option 'with-appletls', 'Build with Secure Transport for SSL support'
depends_on 'pkg-config' => :build
depends_on 'gnutls'
@@ -15,6 +17,11 @@ class Aria2 < Formula
def install
args = %W[--disable-dependency-tracking --prefix=#{prefix}]
args << "--with-ca-bundle=#{HOMEBREW_PREFIX}/share/ca-bundle.crt" if build.with? 'curl-ca-bundle'
+ if build.with? 'appletls'
+ args << "--with-appletls"
+ else
+ args << "--without-appletls"
+ end
system "./configure", *args
system "make install"