summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-12-26 00:07:15 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2014-12-26 00:07:15 -0800
commit9dabcc870385de329b9fcb6986d5d6688fa7dca8 (patch)
tree87d4361e51aa34241c88e727b7099246d41d94df /var
parentd3e52d9f9ac04c5e0e80ad08e57c7f13862b84c1 (diff)
downloadspack-9dabcc870385de329b9fcb6986d5d6688fa7dca8.tar.gz
spack-9dabcc870385de329b9fcb6986d5d6688fa7dca8.tar.bz2
spack-9dabcc870385de329b9fcb6986d5d6688fa7dca8.tar.xz
spack-9dabcc870385de329b9fcb6986d5d6688fa7dca8.zip
Git package.
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/git/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/packages/git/package.py b/var/spack/packages/git/package.py
new file mode 100644
index 0000000000..0f1a3ba05b
--- /dev/null
+++ b/var/spack/packages/git/package.py
@@ -0,0 +1,27 @@
+from spack import *
+
+class Git(Package):
+ """Git is a free and open source distributed version control
+ system designed to handle everything from small to very large
+ projects with speed and efficiency."""
+ homepage = "http://git-scm.com"
+ url = "https://www.kernel.org/pub/software/scm/git/git-2.2.1.tar.xz"
+
+ version('2.2.1', '43e01f9d96ba8c11611e0eef0d9f9f28')
+
+ # Use system openssl.
+ # depends_on("openssl")
+
+ # Use system perl for now.
+ # depends_on("perl")
+ # depends_on("pcre")
+
+ depends_on("zlib")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix,
+ "--without-pcre",
+ "--without-python")
+
+ make()
+ make("install")