summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-10-30 15:02:06 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-12-23 14:43:04 -0800
commite0b5890ab5ba528e55867071020b624e3b334ca4 (patch)
treec679e21339193aa1d07bba9bdff4af69337b3268 /var
parent887c29ddc4871a1d8568684bb0cc03a749724923 (diff)
downloadspack-e0b5890ab5ba528e55867071020b624e3b334ca4.tar.gz
spack-e0b5890ab5ba528e55867071020b624e3b334ca4.tar.bz2
spack-e0b5890ab5ba528e55867071020b624e3b334ca4.tar.xz
spack-e0b5890ab5ba528e55867071020b624e3b334ca4.zip
Initial versions of Qt and some dependencies.
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/dbus/package.py40
-rw-r--r--var/spack/packages/pcre/package.py15
-rw-r--r--var/spack/packages/qt/package.py18
3 files changed, 73 insertions, 0 deletions
diff --git a/var/spack/packages/dbus/package.py b/var/spack/packages/dbus/package.py
new file mode 100644
index 0000000000..7f0019d67c
--- /dev/null
+++ b/var/spack/packages/dbus/package.py
@@ -0,0 +1,40 @@
+# FIXME:
+# This is a template package file for Spack. We've conveniently
+# put "FIXME" labels next to all the things you'll want to change.
+#
+# Once you've edited all the FIXME's, delete this whole message,
+# save this file, and test out your package like this:
+#
+# spack install dbus
+#
+# You can always get back here to change things with:
+#
+# spack edit dbus
+#
+# See the spack documentation for more information on building
+# packages.
+#
+from spack import *
+
+class Dbus(Package):
+ """FIXME: put a proper description of your package here."""
+ # FIXME: add a proper url for your package's homepage here.
+ homepage = "http://www.example.com"
+ url = "http://dbus.freedesktop.org/releases/dbus/dbus-1.8.8.tar.gz"
+
+ version('1.9.0', 'ec6895a4d5c0637b01f0d0e7689e2b36')
+ version('1.8.8', 'b9f4a18ee3faa1e07c04aa1d83239c43')
+ version('1.8.6', '6a08ba555d340e9dfe2d623b83c0eea8')
+ version('1.8.4', '4717cb8ab5b80978fcadf2b4f2f72e1b')
+ version('1.8.2', 'd6f709bbec0a022a1847c7caec9d6068')
+
+ # FIXME: Add dependencies if this package requires them.
+ # depends_on("foo")
+
+ def install(self, spec, prefix):
+ # FIXME: Modify the configure line to suit your build system here.
+ configure("--prefix=%s" % prefix)
+
+ # FIXME: Add logic to build and install here
+ make()
+ make("install")
diff --git a/var/spack/packages/pcre/package.py b/var/spack/packages/pcre/package.py
new file mode 100644
index 0000000000..3424048a6c
--- /dev/null
+++ b/var/spack/packages/pcre/package.py
@@ -0,0 +1,15 @@
+from spack import *
+
+class Pcre(Package):
+ """The PCRE package contains Perl Compatible Regular Expression
+ libraries. These are useful for implementing regular expression
+ pattern matching using the same syntax and semantics as Perl 5."""
+ homepage = "http://www.pcre.org"""
+ url = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.36.tar.bz2"
+
+ version('8.36', 'b767bc9af0c20bc9c1fe403b0d41ad97')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/qt/package.py b/var/spack/packages/qt/package.py
new file mode 100644
index 0000000000..aae9367a1b
--- /dev/null
+++ b/var/spack/packages/qt/package.py
@@ -0,0 +1,18 @@
+from spack import *
+
+class Qt(Package):
+ """Qt is a comprehensive cross-platform C++ application framework."""
+ homepage = "http://qt.io"
+
+ version('4.8.6', '2edbe4d6c2eff33ef91732602f3518eb',
+ "http://download.qt-project.org/official_releases/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz")
+
+ # depends_on("zlib")
+
+ def install(self, spec, prefix):
+ # FIXME: Modify the configure line to suit your build system here.
+ configure("--prefix=%s" % prefix)
+
+ # FIXME: Add logic to build and install here
+ make()
+ make("install")