summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/patchelf/package.py
blob: 036dc6bd17b4e4e4a01614f74b86dcd32c6d6453 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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")