From 55e24548c326f5684552ab5895ace9d171f887a5 Mon Sep 17 00:00:00 2001 From: Alfredo Gimenez Date: Wed, 17 Jun 2015 10:31:49 -0700 Subject: Added Thrift (HBase management in C++) --- var/spack/packages/thrift/package.py | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 var/spack/packages/thrift/package.py diff --git a/var/spack/packages/thrift/package.py b/var/spack/packages/thrift/package.py new file mode 100644 index 0000000000..eb0be940aa --- /dev/null +++ b/var/spack/packages/thrift/package.py @@ -0,0 +1,39 @@ +from spack import * + +class Thrift(Package): + """The Apache Thrift software framework, for scalable cross-language services + development, combines a software stack with a code generation engine to build + services that work efficiently and seamlessly between C++, Java, Python, PHP, + Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml + and Delphi and other languages.""" + + homepage = "http://thrift.apache.org" + url = "http://apache.mirrors.ionfish.org/thrift/0.9.2/thrift-0.9.2.tar.gz" + + version('0.9.2', '89f63cc4d0100912f4a1f8a9dee63678') + + depends_on("autoconf") + depends_on("automake") + depends_on("bison") + depends_on("boost") + depends_on("flex") + depends_on("jdk") + depends_on("libtool") + depends_on("lua") + depends_on("openssl") + + # Compilation fails for most languages, fortunately cpp installs fine + # All other languages (yes, including C) are omitted until someone needs them + def install(self, spec, prefix): + configure("--prefix=%s" % prefix, + "--with-boost=%s" % spec['boost'].prefix, + "--with-c=no", + "--with-go=no", + "--with-python=no", + "--with-lua=no", + "--with-php=no", + "--with-qt4=no", + "--enable-tests=no") + + make() + make("install") -- cgit v1.2.3-70-g09d2 From 0c028e24b440f9f851bf812a6beff15b60df693a Mon Sep 17 00:00:00 2001 From: Alfredo Gimenez Date: Thu, 18 Jun 2015 09:27:54 -0700 Subject: Removed Lua dependency --- var/spack/packages/thrift/package.py | 1 - 1 file changed, 1 deletion(-) diff --git a/var/spack/packages/thrift/package.py b/var/spack/packages/thrift/package.py index eb0be940aa..afde181ed9 100644 --- a/var/spack/packages/thrift/package.py +++ b/var/spack/packages/thrift/package.py @@ -19,7 +19,6 @@ class Thrift(Package): depends_on("flex") depends_on("jdk") depends_on("libtool") - depends_on("lua") depends_on("openssl") # Compilation fails for most languages, fortunately cpp installs fine -- cgit v1.2.3-70-g09d2