def install(self, spec, prefix):
    with working_dir('src'):
        filter_file('gcc', '{0}'.format(spack_cc), 'Makefile', string=True)
        filter_file('g++', '{0}'.format(spack_cxx), 'Makefile', string=True)
        if (not (spec.target.family == 'x86_64')):
            filter_file('-m64', '', 'Makefile', string=True)
            filter_file('-pipe', '', 'Makefile', string=True)
        make()
        mkdirp(prefix.bin)
        install('prank', prefix.bin)
def install(self, spec, prefix):
    with working_dir('src'):
        filter_file('gcc', '{0}'.format(spack_cc), 'Makefile', string=True)
        filter_file('g++', '{0}'.format(spack_cxx), 'Makefile', string=True)
        if (not (spec.target.family == 'x86_64')):
            filter_file('-m64', , 'Makefile', string=True)
            filter_file('-pipe', , 'Makefile', string=True)
        make()
        mkdirp(prefix.bin)
        install('prank', prefix.bin)