summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/packages/ImageMagick/package.py21
-rw-r--r--var/spack/packages/autoconf/package.py14
-rw-r--r--var/spack/packages/automake/package.py16
-rw-r--r--var/spack/packages/cmake/package.py10
-rw-r--r--var/spack/packages/fontconfig/package.py16
-rw-r--r--var/spack/packages/freetype/package.py16
-rw-r--r--var/spack/packages/jpeg/package.py14
-rw-r--r--var/spack/packages/libpng/package.py14
-rw-r--r--var/spack/packages/libtiff/package.py16
-rw-r--r--var/spack/packages/libtool/package.py14
-rw-r--r--var/spack/packages/mpe2/mpe2.patch12
-rw-r--r--var/spack/packages/mpe2/package.py28
12 files changed, 189 insertions, 2 deletions
diff --git a/var/spack/packages/ImageMagick/package.py b/var/spack/packages/ImageMagick/package.py
new file mode 100644
index 0000000000..39c733e0df
--- /dev/null
+++ b/var/spack/packages/ImageMagick/package.py
@@ -0,0 +1,21 @@
+from spack import *
+
+class Imagemagick(Package):
+ """ImageMagick is a image processing library"""
+ homepage = "http://www.imagemagic.org"
+ url = "http://www.imagemagick.org/download/ImageMagick-6.8.9-9.tar.gz"
+
+ version('6.8.9-9', 'e63fed3e3550851328352c708f800676')
+
+ depends_on('libtool')
+ depends_on('jpeg')
+ depends_on('libpng')
+ depends_on('freetype')
+ depends_on('fontconfig')
+# depends_on('libtiff')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/autoconf/package.py b/var/spack/packages/autoconf/package.py
new file mode 100644
index 0000000000..5189faf054
--- /dev/null
+++ b/var/spack/packages/autoconf/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class Autoconf(Package):
+ """Autoconf -- system configuration part of autotools"""
+ homepage = "https://www.gnu.org/software/autoconf/"
+ url = "http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz"
+
+ version('2.69', '82d05e03b93e45f5a39b828dc9c6c29b')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/automake/package.py b/var/spack/packages/automake/package.py
new file mode 100644
index 0000000000..9115822730
--- /dev/null
+++ b/var/spack/packages/automake/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Automake(Package):
+ """Automake -- make file builder part of autotools"""
+ homepage = "http://www.gnu.org/software/automake/"
+ url = "http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz"
+
+ version('1.14.1', 'd052a3e884631b9c7892f2efce542d75')
+
+ depends_on('autoconf')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/cmake/package.py b/var/spack/packages/cmake/package.py
index 890af9baa9..9efa370c8b 100644
--- a/var/spack/packages/cmake/package.py
+++ b/var/spack/packages/cmake/package.py
@@ -28,9 +28,15 @@ class Cmake(Package):
"""A cross-platform, open-source build system. CMake is a family of
tools designed to build, test and package software."""
homepage = 'https://www.cmake.org'
- url = 'http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz'
- version('2.8.10.2', '097278785da7182ec0aea8769d06860c')
+ version('2.8.10.2', '097278785da7182ec0aea8769d06860c',
+ url = 'http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz')
+
+ version('3.0.2', 'db4c687a31444a929d2fdc36c4dfb95f',
+ url = 'http://www.cmake.org/files/v3.0/cmake-3.0.2.tar.gz')
+
+# version('3.0.1', 'e2e05d84cb44a42f1371d9995631dcf5')
+# version('3.0.0', '21a1c85e1a3b803c4b48e7ff915a863e')
def install(self, spec, prefix):
configure('--prefix=' + prefix,
diff --git a/var/spack/packages/fontconfig/package.py b/var/spack/packages/fontconfig/package.py
new file mode 100644
index 0000000000..89b13604e8
--- /dev/null
+++ b/var/spack/packages/fontconfig/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Fontconfig(Package):
+ """Fontconfig customizing font access"""
+ homepage = "http://www.freedesktop.org/wiki/Software/fontconfig/"
+ url = "http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.1.tar.gz"
+
+ version('2.11.1' , 'e75e303b4f7756c2b16203a57ac87eba')
+
+ depends_on('freetype')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/freetype/package.py b/var/spack/packages/freetype/package.py
new file mode 100644
index 0000000000..0309b858a1
--- /dev/null
+++ b/var/spack/packages/freetype/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Freetype(Package):
+ """Font package"""
+ homepage = "http://http://www.freetype.org"
+ url = "http://download.savannah.gnu.org/releases/freetype/freetype-2.5.3.tar.gz"
+
+ version('2.5.3' , 'cafe9f210e45360279c730d27bf071e9')
+
+ depends_on('libpng')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/jpeg/package.py b/var/spack/packages/jpeg/package.py
new file mode 100644
index 0000000000..b34fd5cb2d
--- /dev/null
+++ b/var/spack/packages/jpeg/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class Jpeg(Package):
+ """jpeg library"""
+ homepage = "http://www.ijg.org"
+ url = "http://www.ijg.org/files/jpegsrc.v9a.tar.gz"
+
+ version('9', 'b397211ddfd506b92cd5e02a22ac924d')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/libpng/package.py b/var/spack/packages/libpng/package.py
new file mode 100644
index 0000000000..a6d9bf0b46
--- /dev/null
+++ b/var/spack/packages/libpng/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class Libpng(Package):
+ """libpng graphics file format"""
+ homepage = "http://www.libpng.org/pub/png/libpng.html"
+ url = "http://sourceforge.net/projects/libpng/files/libpng16/1.6.14/libpng-1.6.14.tar.gz/download"
+
+ version('1.6.14', '2101b3de1d5f348925990f9aa8405660')
+
+ 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
new file mode 100644
index 0000000000..ec54cf7adf
--- /dev/null
+++ b/var/spack/packages/libtiff/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Libtiff(Package):
+ """libtiff graphics format library"""
+ homepage = "http://www.remotesensing.org/libtiff/"
+ url = "http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz"
+
+ version('4.0.3', '051c1068e6a0627f461948c365290410')
+
+ depends_on('jpeg')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/libtool/package.py b/var/spack/packages/libtool/package.py
new file mode 100644
index 0000000000..a07daf9781
--- /dev/null
+++ b/var/spack/packages/libtool/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class Libtool(Package):
+ """libtool -- library building part of autotools"""
+ homepage = "https://www.gnu.org/software/libtool/"
+ url = "http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz"
+
+ version('2.4.2' , 'd2f3b7d4627e69e13514a40e72a24d50')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/mpe2/mpe2.patch b/var/spack/packages/mpe2/mpe2.patch
new file mode 100644
index 0000000000..3ade1f04f4
--- /dev/null
+++ b/var/spack/packages/mpe2/mpe2.patch
@@ -0,0 +1,12 @@
+diff -rupN mpe2-1.3.0/src/graphics/src/mpe_graphics.c mpe2-1.3.0.new/src/graphics/src/mpe_graphics.c
+--- mpe2-1.3.0/src/graphics/src/mpe_graphics.c 2009-06-15 10:36:22.000000000 -0600
++++ mpe2-1.3.0.new/src/graphics/src/mpe_graphics.c 2014-10-25 00:11:22.000000000 -0600
+@@ -982,7 +982,7 @@ char *string;
+ return MPE_ERR_BAD_ARGS;
+ }
+
+- printf("color = %d, string = %s\n",(int) color, string);
++//printf("color = %d, string = %s\n",(int) color, string);
+
+ XBSetPixVal( graph->xwin, graph->xwin->cmapping[color] );
+ returnVal = XDrawString( graph->xwin->disp, XBDrawable(graph->xwin),
diff --git a/var/spack/packages/mpe2/package.py b/var/spack/packages/mpe2/package.py
new file mode 100644
index 0000000000..27295172cc
--- /dev/null
+++ b/var/spack/packages/mpe2/package.py
@@ -0,0 +1,28 @@
+from spack import *
+
+class Mpe2(Package):
+ """Message Passing Extensions (MPE) -- Parallel, shared X window graphics"""
+
+ homepage = "http://www.mcs.anl.gov/research/projects/perfvis/software/MPE/"
+ url = "ftp://ftp.mcs.anl.gov/pub/mpi/mpe/mpe2-1.3.0.tar.gz"
+
+ version('1.3.0', '67bf0c7b2e573df3ba0d2059a96c2f7b')
+
+ patch('mpe2.patch')
+
+ depends_on("mpi")
+
+ provides("mpe")
+
+ def install(self, spec, prefix):
+ configure("--prefix=" + prefix,
+ "--x-includes=/usr/X11R6/include",
+ "--x-libraries=/usr/X11R6/lib",
+ "--enable-mpe_graphics=yes",
+ "--disable-f77",
+ "--enable-viewers=no",
+ "--enable-slog2=no",
+ "--with-mpicc=mpicc")
+
+ make()
+ make("install")