thrift: use spec deps

This commit is contained in:
Jack Nagel 2013-09-21 20:47:45 -05:00
parent f4e4ec4939
commit 0986b6c7f6

View file

@ -5,7 +5,13 @@ class Thrift < Formula
url 'http://www.apache.org/dyn/closer.cgi?path=thrift/0.9.0/thrift-0.9.0.tar.gz'
sha1 'fefcf4d729bf80da419407dfa028740aa95fa2e3'
head 'https://git-wip-us.apache.org/repos/asf/thrift.git', :branch => "master"
head do
url 'https://git-wip-us.apache.org/repos/asf/thrift.git', :branch => "master"
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
option "with-haskell", "Install Haskell binding"
option "with-erlang", "Install Erlang binding"
@ -15,11 +21,6 @@ class Thrift < Formula
depends_on 'boost'
depends_on :python => :optional
if build.head?
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
# Includes are fixed in the upstream. Please remove this patch in the next version > 0.9.0
def patches