summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-01-11 13:47:31 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2016-01-11 13:47:31 -0800
commit054c6eefdbb84b0e194d34261cac28096ddd2f92 (patch)
tree9200bf493576afe6e8c49e20ce7854738fb28543
parent674dd276492b37604017614637c928098e6714de (diff)
parentadbe1d4f06028ba13e21386f7d62939d4b2eb740 (diff)
downloadspack-054c6eefdbb84b0e194d34261cac28096ddd2f92.tar.gz
spack-054c6eefdbb84b0e194d34261cac28096ddd2f92.tar.bz2
spack-054c6eefdbb84b0e194d34261cac28096ddd2f92.tar.xz
spack-054c6eefdbb84b0e194d34261cac28096ddd2f92.zip
Merge pull request #334 from adamjstewart/features/patchelf
Add PatchELF package
-rw-r--r--var/spack/packages/patchelf/package.py16
1 files changed, 16 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")