diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-01-11 13:54:26 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2016-01-11 13:54:26 -0600 |
commit | adbe1d4f06028ba13e21386f7d62939d4b2eb740 (patch) | |
tree | bc7c12f8be24ea49238d7342a17ef0a3edb324d8 | |
parent | 7ad3e2b56bca4aca3a1ed5a157380070ea17514f (diff) | |
download | spack-adbe1d4f06028ba13e21386f7d62939d4b2eb740.tar.gz spack-adbe1d4f06028ba13e21386f7d62939d4b2eb740.tar.bz2 spack-adbe1d4f06028ba13e21386f7d62939d4b2eb740.tar.xz spack-adbe1d4f06028ba13e21386f7d62939d4b2eb740.zip |
Add PatchELF package
-rw-r--r-- | var/spack/packages/patchelf/package.py | 16 |
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") |