aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBrett Koonce2014-05-20 23:49:12 -0700
committerBrett Koonce2014-05-21 12:00:48 -0700
commit3120ab185fc2619f5ea5e0b87301984cb19cb60f (patch)
treecd8c173e2f733dcb677b6773c5dcc0693ac8ed7e /Library
parent1bd638381ee24013e45ae62d422113ca42b86c3d (diff)
downloadhomebrew-3120ab185fc2619f5ea5e0b87301984cb19cb60f.tar.bz2
transmission 2.83
Closes #29447.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/transmission.rb32
1 files changed, 16 insertions, 16 deletions
diff --git a/Library/Formula/transmission.rb b/Library/Formula/transmission.rb
index 11175941f..7b279bea2 100644
--- a/Library/Formula/transmission.rb
+++ b/Library/Formula/transmission.rb
@@ -1,36 +1,36 @@
-require 'formula'
+require "formula"
class Transmission < Formula
- homepage 'http://www.transmissionbt.com/'
- url 'http://download.transmissionbt.com/files/transmission-2.82.tar.xz'
- sha1 '1081542e2692147e45dde7c310b793abc4f33f2d'
+ homepage "http://www.transmissionbt.com/"
+ url "http://download.transmissionbt.com/files/transmission-2.83.tar.xz"
+ sha1 "d28bb66b3a1cccc2c4b42d21346be4fe84498ccb"
- option 'with-nls', 'Build with native language support'
+ option "with-nls", "Build with native language support"
- depends_on 'pkg-config' => :build
- depends_on 'curl' if MacOS.version <= :leopard
- depends_on 'libevent'
+ depends_on "pkg-config" => :build
+ depends_on "curl" if MacOS.version <= :leopard
+ depends_on "libevent"
- if build.with? 'nls'
- depends_on 'intltool' => :build
- depends_on 'gettext'
+ if build.with? "nls"
+ depends_on "intltool" => :build
+ depends_on "gettext"
end
def install
- ENV.append 'LDFLAGS', '-framework Foundation -prebind'
- ENV.append 'LDFLAGS', '-liconv'
+ ENV.append "LDFLAGS", "-framework Foundation -prebind"
+ ENV.append "LDFLAGS", "-liconv"
args = %W[--disable-dependency-tracking
--prefix=#{prefix}
--disable-mac
--without-gtk]
- args << "--disable-nls" if build.without? 'nls'
+ args << "--disable-nls" if build.without? "nls"
#fixes issue w/ webui files not being found #21151
#submitted upstream: https://trac.transmissionbt.com/ticket/5304
- inreplace 'libtransmission/platform.c', 'SYS_DARWIN', 'BUILD_MAC_CLIENT'
- inreplace 'libtransmission/utils.c', 'SYS_DARWIN', 'BUILD_MAC_CLIENT'
+ inreplace "libtransmission/platform.c", "SYS_DARWIN", "BUILD_MAC_CLIENT"
+ inreplace "libtransmission/utils.c", "SYS_DARWIN", "BUILD_MAC_CLIENT"
system "./configure", *args
system "make" # Make and install in one step fails