Added support for Thrift 0.2.0

This commit is contained in:
Johan Oskarsson 2010-03-27 15:47:49 +01:00 committed by Max Howell
parent 85cfac594e
commit 980f2f62b3

View file

@ -7,12 +7,15 @@ require 'formula'
class Thrift <Formula
homepage 'http://incubator.apache.org/thrift/'
head 'http://svn.apache.org/repos/asf/incubator/thrift/trunk'
version '0.2.0'
url 'http://apache.dataphone.se/incubator/thrift/0.2.0-incubating/thrift-0.2.0-incubating.tar.gz'
md5 '9958c57c402c02171ba0bcc96183505c'
depends_on 'boost'
def install
FileUtils.cp "/usr/X11/share/aclocal/pkg.m4", "aclocal"
system "./bootstrap.sh"
system "./bootstrap.sh" if version == 'HEAD'
system "./configure","--disable-debug","--without-java",
"--prefix=#{prefix}","--libdir=#{lib}",
# rationale: this can be installed with easy_install