summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Gimenez <gimenez1@llnl.gov>2015-06-17 10:31:49 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-06-18 10:29:34 -0700
commit55e24548c326f5684552ab5895ace9d171f887a5 (patch)
tree9cc80ecfab114fa2c76b8c75241f88e90f8ded4e
parent912c29471a885ce26e28dba3d5674d176c5e3c21 (diff)
downloadspack-55e24548c326f5684552ab5895ace9d171f887a5.tar.gz
spack-55e24548c326f5684552ab5895ace9d171f887a5.tar.bz2
spack-55e24548c326f5684552ab5895ace9d171f887a5.tar.xz
spack-55e24548c326f5684552ab5895ace9d171f887a5.zip
Added Thrift (HBase management in C++)
-rw-r--r--var/spack/packages/thrift/package.py39
1 files changed, 39 insertions, 0 deletions
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")