summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
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")