summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/patchelf/package.py16
-rw-r--r--var/spack/packages/szip/package.py21
2 files changed, 37 insertions, 0 deletions
diff --git a/var/spack/packages/patchelf/package.py b/var/spack/packages/patchelf/package.py
new file mode 100644
index 0000000000..036dc6bd17
--- /dev/null
+++ b/var/spack/packages/patchelf/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Patchelf(Package):
+ """PatchELF is a small utility to modify the dynamic linker and RPATH of ELF executables."""
+
+ homepage = "https://nixos.org/patchelf.html"
+ url = "http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.gz"
+ list_url = "http://nixos.org/releases/patchelf/"
+ list_depth = 2
+
+ version('0.8', '407b229e6a681ffb0e2cdd5915cb2d01')
+
+ def install(self, spec, prefix):
+ configure('--prefix=%s' % prefix)
+ make()
+ make("install")
diff --git a/var/spack/packages/szip/package.py b/var/spack/packages/szip/package.py
new file mode 100644
index 0000000000..c48c5b431e
--- /dev/null
+++ b/var/spack/packages/szip/package.py
@@ -0,0 +1,21 @@
+from spack import *
+
+class Szip(Package):
+ """Szip is an implementation of the extended-Rice lossless compression algorithm.
+ It provides lossless compression of scientific data, and is provided with HDF
+ software products."""
+
+ homepage = "https://www.hdfgroup.org/doc_resource/SZIP/"
+ url = "http://www.hdfgroup.org/ftp/lib-external/szip/2.1/src/szip-2.1.tar.gz"
+
+ version('2.1', '902f831bcefb69c6b635374424acbead')
+
+ def install(self, spec, prefix):
+ configure('--prefix=%s' % prefix,
+ '--enable-production',
+ '--enable-shared',
+ '--enable-static',
+ '--enable-encoding')
+
+ make()
+ make("install")