summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/ImageMagick/package.py1
-rw-r--r--var/spack/packages/atk/package.py18
-rw-r--r--var/spack/packages/bzip2/package.py17
-rw-r--r--var/spack/packages/cairo/package.py19
-rw-r--r--var/spack/packages/dbus/package.py25
-rw-r--r--var/spack/packages/extrae/package.py10
-rw-r--r--var/spack/packages/gdk-pixbuf/package.py22
-rw-r--r--var/spack/packages/git/package.py27
-rw-r--r--var/spack/packages/glib/package.py18
-rw-r--r--var/spack/packages/gnutls/package.py22
-rw-r--r--var/spack/packages/gperftools/package.py38
-rw-r--r--var/spack/packages/gtkplus/package.py22
-rw-r--r--var/spack/packages/harfbuzz/package.py20
-rw-r--r--var/spack/packages/icu/package.py25
-rw-r--r--var/spack/packages/jpeg/package.py2
-rw-r--r--var/spack/packages/lcms/package.py19
-rw-r--r--var/spack/packages/libjpeg-turbo/package.py20
-rw-r--r--var/spack/packages/libmng/package.py23
-rw-r--r--var/spack/packages/libtiff/package.py2
-rw-r--r--var/spack/packages/libxml2/package.py16
-rw-r--r--var/spack/packages/nasm/package.py14
-rw-r--r--var/spack/packages/nettle/package.py15
-rw-r--r--var/spack/packages/pango/package.py19
-rw-r--r--var/spack/packages/pcre/package.py15
-rw-r--r--var/spack/packages/pixman/package.py18
-rw-r--r--var/spack/packages/qt/package.py44
-rw-r--r--var/spack/packages/scr/package.py2
-rw-r--r--var/spack/packages/spindle/package.py2
-rw-r--r--var/spack/packages/wget/package.py21
-rw-r--r--var/spack/packages/xz/package.py16
-rw-r--r--var/spack/packages/yasm/package.py16
31 files changed, 543 insertions, 5 deletions
diff --git a/var/spack/packages/ImageMagick/package.py b/var/spack/packages/ImageMagick/package.py
index ae06368f85..657b9255a3 100644
--- a/var/spack/packages/ImageMagick/package.py
+++ b/var/spack/packages/ImageMagick/package.py
@@ -5,6 +5,7 @@ class Imagemagick(Package):
homepage = "http://www.imagemagic.org"
url = "http://www.imagemagick.org/download/ImageMagick-6.8.9-10.tar.gz"
+ version('6.9.0-0', '2cf094cb86ec518fa5bc669ce2d21613')
version('6.8.9-10', 'aa050bf9785e571c956c111377bbf57c')
version('6.8.9-9', 'e63fed3e3550851328352c708f800676')
diff --git a/var/spack/packages/atk/package.py b/var/spack/packages/atk/package.py
new file mode 100644
index 0000000000..769805b227
--- /dev/null
+++ b/var/spack/packages/atk/package.py
@@ -0,0 +1,18 @@
+from spack import *
+
+class Atk(Package):
+ """ATK provides the set of accessibility interfaces that are
+ implemented by other toolkits and applications. Using the ATK
+ interfaces, accessibility tools have full access to view and
+ control running applications."""
+ homepage = "https://developer.gnome.org/atk/"
+ url = "http://ftp.gnome.org/pub/gnome/sources/atk/2.14/atk-2.14.0.tar.xz"
+
+ version('2.14.0', 'ecb7ca8469a5650581b1227d78051b8b')
+
+ depends_on("glib")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/bzip2/package.py b/var/spack/packages/bzip2/package.py
index 83ae88e564..fbd5869a53 100644
--- a/var/spack/packages/bzip2/package.py
+++ b/var/spack/packages/bzip2/package.py
@@ -1,4 +1,5 @@
from spack import *
+from glob import glob
class Bzip2(Package):
"""bzip2 is a freely available, patent free high-quality data
@@ -15,5 +16,19 @@ class Bzip2(Package):
# No configure system -- have to filter the makefile for this package.
filter_file(r'CC=gcc', 'CC=cc', 'Makefile', string=True)
- make()
+ make('-f', 'Makefile-libbz2_so')
+ make('clean')
make("install", "PREFIX=%s" % prefix)
+
+ bzip2_exe = join_path(prefix.bin, 'bzip2')
+ install('bzip2-shared', bzip2_exe)
+ for libfile in glob('libbz2.so*'):
+ install(libfile, prefix.lib)
+
+ bunzip2 = join_path(prefix.bin, 'bunzip2')
+ remove(bunzip2)
+ symlink(bzip2_exe, bunzip2)
+
+ bzcat = join_path(prefix.bin, 'bzcat')
+ remove(bzcat)
+ symlink(bzip2_exe, bzcat)
diff --git a/var/spack/packages/cairo/package.py b/var/spack/packages/cairo/package.py
new file mode 100644
index 0000000000..e1ac8aaa7d
--- /dev/null
+++ b/var/spack/packages/cairo/package.py
@@ -0,0 +1,19 @@
+from spack import *
+
+class Cairo(Package):
+ """Cairo is a 2D graphics library with support for multiple output devices."""
+ homepage = "http://cairographics.org"
+ url = "http://cairographics.org/releases/cairo-1.14.0.tar.xz"
+
+ version('1.14.0', 'fc3a5edeba703f906f2241b394f0cced')
+
+ depends_on("libpng")
+ depends_on("glib")
+ depends_on("pixman")
+ depends_on("fontconfig@2.10.91:") # Require newer version of fontconfig.
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix,
+ "--enable-tee")
+ make()
+ make("install")
diff --git a/var/spack/packages/dbus/package.py b/var/spack/packages/dbus/package.py
new file mode 100644
index 0000000000..5fee103f03
--- /dev/null
+++ b/var/spack/packages/dbus/package.py
@@ -0,0 +1,25 @@
+from spack import *
+
+class Dbus(Package):
+ """D-Bus is a message bus system, a simple way for applications to
+ talk to one another. D-Bus supplies both a system daemon (for
+ events such new hardware device printer queue ) and a
+ per-user-login-session daemon (for general IPC needs among user
+ applications). Also, the message bus is built on top of a
+ general one-to-one message passing framework, which can be used
+ by any two applications to communicate directly (without going
+ through the message bus daemon)."""
+
+ homepage = "http://dbus.freedesktop.org/"
+ 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')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/extrae/package.py b/var/spack/packages/extrae/package.py
index 3b842bc1ec..b1a3a3e440 100644
--- a/var/spack/packages/extrae/package.py
+++ b/var/spack/packages/extrae/package.py
@@ -31,7 +31,15 @@ class Extrae(Package):
elif 'mvapich2' in spec:
mpi = spec['mvapich2']
- configure("--prefix=%s" % prefix, "--with-mpi=%s" % mpi.prefix, "--with-unwind=%s" % spec['libunwind'].prefix, "--with-dyninst=%s" % spec['dyninst'].prefix, "--with-boost=%s" % spec['boost'].prefix, "--with-dwarf=%s" % spec['libdwarf'].prefix, "--with-papi=%s" % spec['papi'].prefix, "--with-dyninst-headers=%s" % spec['dyninst'].prefix.include, "--with-dyninst-libs=%s" % spec['dyninst'].prefix.lib)
+ configure("--prefix=%s" % prefix,
+ "--with-mpi=%s" % mpi.prefix,
+ "--with-unwind=%s" % spec['libunwind'].prefix,
+ "--with-dyninst=%s" % spec['dyninst'].prefix,
+ "--with-boost=%s" % spec['boost'].prefix,
+ "--with-dwarf=%s" % spec['libdwarf'].prefix,
+ "--with-papi=%s" % spec['papi'].prefix,
+ "--with-dyninst-headers=%s" % spec['dyninst'].prefix.include,
+ "--with-dyninst-libs=%s" % spec['dyninst'].prefix.lib)
make()
make("install", parallel=False)
diff --git a/var/spack/packages/gdk-pixbuf/package.py b/var/spack/packages/gdk-pixbuf/package.py
new file mode 100644
index 0000000000..14a5569984
--- /dev/null
+++ b/var/spack/packages/gdk-pixbuf/package.py
@@ -0,0 +1,22 @@
+from spack import *
+
+class GdkPixbuf(Package):
+ """The Gdk Pixbuf is a toolkit for image loading and pixel buffer
+ manipulation. It is used by GTK+ 2 and GTK+ 3 to load and
+ manipulate images. In the past it was distributed as part of
+ GTK+ 2 but it was split off into a separate package in
+ preparation for the change to GTK+ 3."""
+ homepage = "https://developer.gnome.org/gdk-pixbuf/"
+ url = "http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.31/gdk-pixbuf-2.31.1.tar.xz"
+
+ version('2.31.2', '6be6bbc4f356d4b79ab4226860ab8523')
+
+ depends_on("glib")
+ depends_on("jpeg")
+ depends_on("libpng")
+ depends_on("libtiff")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
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")
diff --git a/var/spack/packages/glib/package.py b/var/spack/packages/glib/package.py
new file mode 100644
index 0000000000..178f0b9df5
--- /dev/null
+++ b/var/spack/packages/glib/package.py
@@ -0,0 +1,18 @@
+from spack import *
+
+class Glib(Package):
+ """The GLib package contains a low-level libraries useful for
+ providing data structure handling for C, portability wrappers
+ and interfaces for such runtime functionality as an event loop,
+ threads, dynamic loading and an object system."""
+ homepage = "https://developer.gnome.org/glib/"
+ url = "http://ftp.gnome.org/pub/gnome/sources/glib/2.42/glib-2.42.1.tar.xz"
+
+ version('2.42.1', '89c4119e50e767d3532158605ee9121a')
+
+ depends_on("libffi")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/gnutls/package.py b/var/spack/packages/gnutls/package.py
new file mode 100644
index 0000000000..cf57a24a6d
--- /dev/null
+++ b/var/spack/packages/gnutls/package.py
@@ -0,0 +1,22 @@
+from spack import *
+
+class Gnutls(Package):
+ """GnuTLS is a secure communications library implementing the SSL,
+ TLS and DTLS protocols and technologies around them. It
+ provides a simple C language application programming interface
+ (API) to access the secure communications protocols as well as
+ APIs to parse and write X.509, PKCS #12, OpenPGP and other
+ required structures. It is aimed to be portable and efficient
+ with focus on security and interoperability."""
+
+ homepage = "http://www.gnutls.org"
+ url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.9.tar.xz"
+
+ version('3.3.9', 'ff61b77e39d09f1140ab5a9cf52c58b6')
+
+ depends_on("nettle")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/gperftools/package.py b/var/spack/packages/gperftools/package.py
new file mode 100644
index 0000000000..8900462324
--- /dev/null
+++ b/var/spack/packages/gperftools/package.py
@@ -0,0 +1,38 @@
+##############################################################################
+# Copyright (c) 2013, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Written by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://scalability-llnl.github.io/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License (as published by
+# the Free Software Foundation) version 2.1 dated February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+class Gperftools(Package):
+ """Google's fast malloc/free implementation, especially for multi-threaded applications.
+ Contains tcmalloc, heap-checker, heap-profiler, and cpu-profiler."""
+ homepage = "https://code.google.com/p/gperftools"
+ url = "https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/gperftools-2.3.tar.gz"
+
+ version('2.3', 'f54dd119f0e46ac1f13264f8d97adf90', url="https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/gperftools-2.3.tar.gz")
+
+ def install(self, spec, prefix):
+ configure("--prefix=" + prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/gtkplus/package.py b/var/spack/packages/gtkplus/package.py
new file mode 100644
index 0000000000..0ebc7100de
--- /dev/null
+++ b/var/spack/packages/gtkplus/package.py
@@ -0,0 +1,22 @@
+from spack import *
+
+class Gtkplus(Package):
+ """The GTK+ 2 package contains libraries used for creating graphical user interfaces for applications."""
+ homepage = "http://www.gtk.org"
+
+ version('2.24.25', '612350704dd3aacb95355a4981930c6f',
+ url="http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.25.tar.xz")
+
+ depends_on("atk")
+ depends_on("gdk-pixbuf")
+ depends_on("pango")
+
+ def patch(self):
+ # remove disable deprecated flag.
+ filter_file(r'CFLAGS="-DGDK_PIXBUF_DISABLE_DEPRECATED $CFLAGS"',
+ '', 'configure', string=True)
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/harfbuzz/package.py b/var/spack/packages/harfbuzz/package.py
new file mode 100644
index 0000000000..ed7c42a909
--- /dev/null
+++ b/var/spack/packages/harfbuzz/package.py
@@ -0,0 +1,20 @@
+from spack import *
+
+class Harfbuzz(Package):
+ """The Harfbuzz package contains an OpenType text shaping engine."""
+ homepage = "http://www.freedesktop.org/wiki/Software/HarfBuzz/"
+ url = "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.37.tar.bz2"
+
+ version('0.9.37', 'bfe733250e34629a188d82e3b971bc1e')
+
+ depends_on("glib")
+ depends_on("icu")
+ depends_on("freetype")
+
+ def patch(self):
+ change_sed_delimiter('@', ';', 'src/Makefile.in')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/icu/package.py b/var/spack/packages/icu/package.py
new file mode 100644
index 0000000000..f256ec5712
--- /dev/null
+++ b/var/spack/packages/icu/package.py
@@ -0,0 +1,25 @@
+from spack import *
+
+class Icu(Package):
+ """The International Components for Unicode (ICU) package is a
+ mature, widely used set of C/C++ libraries providing Unicode and
+ Globalization support for software applications. ICU is widely
+ portable and gives applications the same results on all
+ platforms."""
+ # FIXME: add a proper url for your package's homepage here.
+ homepage = "http://www.example.com"
+ url = "http://download.icu-project.org/files/icu4c/54.1/icu4c-54_1-src.tgz"
+
+ version('54.1', 'e844caed8f2ca24c088505b0d6271bc0')
+
+
+ def url_for_version(self, version):
+ return "http://download.icu-project.org/files/icu4c/%s/icu4c-%s-src.tgz" % (
+ version, str(version).replace('.', '_'))
+
+
+ def install(self, spec, prefix):
+ with working_dir("source"):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/jpeg/package.py b/var/spack/packages/jpeg/package.py
index bb5b77e01c..87820467db 100644
--- a/var/spack/packages/jpeg/package.py
+++ b/var/spack/packages/jpeg/package.py
@@ -5,7 +5,7 @@ class Jpeg(Package):
homepage = "http://www.ijg.org"
url = "http://www.ijg.org/files/jpegsrc.v9a.tar.gz"
- version('9a', 'b397211ddfd506b92cd5e02a22ac924d')
+ version('9a', '3353992aecaee1805ef4109aadd433e7')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
diff --git a/var/spack/packages/lcms/package.py b/var/spack/packages/lcms/package.py
new file mode 100644
index 0000000000..a53c2f997a
--- /dev/null
+++ b/var/spack/packages/lcms/package.py
@@ -0,0 +1,19 @@
+from spack import *
+
+class Lcms(Package):
+ """Little cms is a color management library. Implements fast
+ transforms between ICC profiles. It is focused on speed, and is
+ portable across several platforms (MIT license)."""
+ homepage = "http://www.littlecms.com"
+ url = "http://downloads.sourceforge.net/project/lcms/lcms/2.6/lcms2-2.6.tar.gz"
+
+ version('2.6', 'f4c08d38ceade4a664ebff7228910a33')
+
+ depends_on("jpeg")
+ depends_on("libtiff")
+ depends_on("zlib")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/libjpeg-turbo/package.py b/var/spack/packages/libjpeg-turbo/package.py
new file mode 100644
index 0000000000..07ee183947
--- /dev/null
+++ b/var/spack/packages/libjpeg-turbo/package.py
@@ -0,0 +1,20 @@
+from spack import *
+
+class LibjpegTurbo(Package):
+ """libjpeg-turbo is a fork of the original IJG libjpeg which uses
+ SIMD to accelerate baseline JPEG compression and
+ decompression. libjpeg is a library that implements JPEG image
+ encoding, decoding and transcoding."""
+ homepage = "http://libjpeg-turbo.virtualgl.org"
+ url = "http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-1.3.1.tar.gz"
+
+ version('1.3.1', '2c3a68129dac443a72815ff5bb374b05')
+
+ # Can use either of these.
+ depends_on("yasm")
+ depends_on("nasm")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/libmng/package.py b/var/spack/packages/libmng/package.py
new file mode 100644
index 0000000000..e5336ea2c2
--- /dev/null
+++ b/var/spack/packages/libmng/package.py
@@ -0,0 +1,23 @@
+from spack import *
+
+class Libmng(Package):
+ """libmng -THE reference library for reading, displaying, writing
+ and examining Multiple-Image Network Graphics. MNG is the animation
+ extension to the popular PNG image-format."""
+ homepage = "http://sourceforge.net/projects/libmng/"
+ url = "http://downloads.sourceforge.net/project/libmng/libmng-devel/2.0.2/libmng-2.0.2.tar.gz"
+
+ version('2.0.2', '1ffefaed4aac98475ee6267422cbca55')
+
+ depends_on("jpeg")
+ depends_on("zlib")
+ depends_on("lcms")
+
+ def patch(self):
+ # jpeg requires stdio to beincluded before its headrs.
+ filter_file(r'^(\#include \<jpeglib\.h\>)', '#include<stdio.h>\n\\1', 'libmng_types.h')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/libtiff/package.py b/var/spack/packages/libtiff/package.py
index ec54cf7adf..63c6704cb8 100644
--- a/var/spack/packages/libtiff/package.py
+++ b/var/spack/packages/libtiff/package.py
@@ -8,6 +8,8 @@ class Libtiff(Package):
version('4.0.3', '051c1068e6a0627f461948c365290410')
depends_on('jpeg')
+ depends_on('zlib')
+ depends_on('xz')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
diff --git a/var/spack/packages/libxml2/package.py b/var/spack/packages/libxml2/package.py
new file mode 100644
index 0000000000..5eaed36d94
--- /dev/null
+++ b/var/spack/packages/libxml2/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Libxml2(Package):
+ """Libxml2 is the XML C parser and toolkit developed for the Gnome
+ project (but usable outside of the Gnome platform), it is free
+ software available under the MIT License."""
+ homepage = "http://xmlsoft.org"
+ url = "http://xmlsoft.org/sources/libxml2-2.9.2.tar.gz"
+
+ version('2.9.2', '9e6a9aca9d155737868b3dc5fd82f788')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix,
+ "--without-python")
+ make()
+ make("install")
diff --git a/var/spack/packages/nasm/package.py b/var/spack/packages/nasm/package.py
new file mode 100644
index 0000000000..933b6a62c5
--- /dev/null
+++ b/var/spack/packages/nasm/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class Nasm(Package):
+ """NASM (Netwide Assembler) is an 80x86 assembler designed for
+ portability and modularity. It includes a disassembler as well."""
+ homepage = "http://www.nasm.us"
+ url = "http://www.nasm.us/pub/nasm/releasebuilds/2.11.06/nasm-2.11.06.tar.xz"
+
+ version('2.11.06', '2b958e9f5d200641e6fc9564977aecc5')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/nettle/package.py b/var/spack/packages/nettle/package.py
new file mode 100644
index 0000000000..0f20bc06df
--- /dev/null
+++ b/var/spack/packages/nettle/package.py
@@ -0,0 +1,15 @@
+from spack import *
+
+class Nettle(Package):
+ """The Nettle package contains the low-level cryptographic library
+ that is designed to fit easily in many contexts."""
+
+ homepage = "http://www.example.com"
+ url = "http://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz"
+
+ version('2.7', '2caa1bd667c35db71becb93c5d89737f')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/pango/package.py b/var/spack/packages/pango/package.py
new file mode 100644
index 0000000000..df43625bf5
--- /dev/null
+++ b/var/spack/packages/pango/package.py
@@ -0,0 +1,19 @@
+from spack import *
+
+class Pango(Package):
+ """Pango is a library for laying out and rendering of text, with
+ an emphasis on internationalization. It can be used anywhere
+ that text layout is needed, though most of the work on Pango so
+ far has been done in the context of the GTK+ widget toolkit."""
+ homepage = "http://www.pango.org"
+ url = "http://ftp.gnome.org/pub/gnome/sources/pango/1.36/pango-1.36.8.tar.xz"
+
+ version('1.36.8', '217a9a753006275215fa9fa127760ece')
+
+ depends_on("harfbuzz")
+ depends_on("cairo")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ 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/pixman/package.py b/var/spack/packages/pixman/package.py
new file mode 100644
index 0000000000..895cbdbca5
--- /dev/null
+++ b/var/spack/packages/pixman/package.py
@@ -0,0 +1,18 @@
+from spack import *
+
+class Pixman(Package):
+ """The Pixman package contains a library that provides low-level
+ pixel manipulation features such as image compositing and
+ trapezoid rasterization."""
+ homepage = "http://www.pixman.org"
+ url = "http://cairographics.org/releases/pixman-0.32.6.tar.gz"
+
+ version('0.32.6', '3a30859719a41bd0f5cccffbfefdd4c2')
+
+ depends_on("libpng")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix,
+ "--disable-gtk")
+ 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..01f9de7f3c
--- /dev/null
+++ b/var/spack/packages/qt/package.py
@@ -0,0 +1,44 @@
+from spack import *
+
+class Qt(Package):
+ """Qt is a comprehensive cross-platform C++ application framework."""
+ homepage = "http://qt.io"
+
+ version('4.8.6', '2edbe4d6c2eff33ef91732602f3518eb',
+ url="http://download.qt-project.org/official_releases/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz")
+
+ # Use system openssl for security.
+ #depends_on("openssl")
+
+ depends_on("glib")
+ depends_on("gtkplus")
+ depends_on("libxml2")
+ depends_on("zlib")
+ depends_on("dbus")
+ depends_on("libtiff")
+ depends_on("libpng")
+ depends_on("libmng")
+ depends_on("jpeg")
+
+ def patch(self):
+ # Fix qmake compilers in the default mkspec
+ qmake_conf = 'mkspecs/common/g++-base.conf'
+ filter_file(r'^QMAKE_CC *=.*$', 'QMAKE_CC = cc', qmake_conf)
+ filter_file(r'^QMAKE_CXX *=.*$', 'QMAKE_CXX = c++', qmake_conf)
+
+
+ def install(self, spec, prefix):
+ configure('-v',
+ '-confirm-license',
+ '-opensource',
+ '-prefix', prefix,
+ '-openssl-linked',
+ '-dbus-linked',
+ '-fast',
+ '-optimized-qmake',
+ '-no-pch',
+ '-no-phonon',
+ '-no-phonon-backend',
+ '-no-openvg')
+ make()
+ make("install")
diff --git a/var/spack/packages/scr/package.py b/var/spack/packages/scr/package.py
index d456ecaba0..74b75a8742 100644
--- a/var/spack/packages/scr/package.py
+++ b/var/spack/packages/scr/package.py
@@ -28,7 +28,7 @@ class Scr(Package):
"""SCR caches checkpoint data in storage on the compute nodes of a
Linux cluster to provide a fast, scalable checkpoint/restart
capability for MPI codes"""
- homepage = "https://computation-rnd.llnl.gov/scr"
+ homepage = "https://computation.llnl.gov/project/scr/"
url = "http://downloads.sourceforge.net/project/scalablecr/releases/scr-1.1-7.tar.gz"
depends_on("mpi")
diff --git a/var/spack/packages/spindle/package.py b/var/spack/packages/spindle/package.py
index fd59282ebb..06a1e14284 100644
--- a/var/spack/packages/spindle/package.py
+++ b/var/spack/packages/spindle/package.py
@@ -30,7 +30,7 @@ class Spindle(Package):
overload on a shared file system when loading dynamically
linked libraries, causing site-wide performance problems.
"""
- homepage = "https://computation-rnd.llnl.gov/spindle"
+ homepage = "https://computation.llnl.gov/project/spindle/"
url = "https://github.com/hpc/Spindle/archive/v0.8.1.tar.gz"
list_url = "https://github.com/hpc/Spindle/releases"
diff --git a/var/spack/packages/wget/package.py b/var/spack/packages/wget/package.py
new file mode 100644
index 0000000000..c8fd025122
--- /dev/null
+++ b/var/spack/packages/wget/package.py
@@ -0,0 +1,21 @@
+from spack import *
+
+class Wget(Package):
+ """GNU Wget is a free software package for retrieving files using
+ HTTP, HTTPS and FTP, the most widely-used Internet protocols. It
+ is a non-interactive commandline tool, so it may easily be called
+ from scripts, cron jobs, terminals without X-Windows support,
+ etc."""
+
+ homepage = "http://www.gnu.org/software/wget/"
+ url = "http://ftp.gnu.org/gnu/wget/wget-1.16.tar.xz"
+
+ version('1.16', 'fe102975ab3a6c049777883f1bb9ad07')
+
+ depends_on("openssl")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix,
+ "--with-ssl=openssl")
+ make()
+ make("install")
diff --git a/var/spack/packages/xz/package.py b/var/spack/packages/xz/package.py
new file mode 100644
index 0000000000..88c5793018
--- /dev/null
+++ b/var/spack/packages/xz/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Xz(Package):
+ """XZ Utils is free general-purpose data compression software with
+ high compression ratio. XZ Utils were written for POSIX-like
+ systems, but also work on some not-so-POSIX systems. XZ Utils are
+ the successor to LZMA Utils."""
+ homepage = "http://tukaani.org/xz/"
+ url = "http://tukaani.org/xz/xz-5.2.0.tar.bz2"
+
+ version('5.2.0', '867cc8611760240ebf3440bd6e170bb9')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/yasm/package.py b/var/spack/packages/yasm/package.py
new file mode 100644
index 0000000000..d3a695b16d
--- /dev/null
+++ b/var/spack/packages/yasm/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Yasm(Package):
+ """Yasm is a complete rewrite of the NASM-2.11.06 assembler. It
+ supports the x86 and AMD64 instruction sets, accepts NASM and
+ GAS assembler syntaxes and outputs binary, ELF32 and ELF64
+ object formats."""
+ homepage = "http://yasm.tortall.net"
+ url = "http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz"
+
+ version('1.3.0', 'fc9e586751ff789b34b1f21d572d96af')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")