Remove install methods from mock packages (not needed)
This commit is contained in:
parent
df0c1134c9
commit
5f2feac92c
@ -6,6 +6,4 @@ class Fake(Package):
|
||||
versions = { '1.0' : 'foobarbaz' }
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
make()
|
||||
make("install")
|
||||
pass
|
||||
|
@ -16,36 +16,5 @@ class Libdwarf(Package):
|
||||
|
||||
depends_on("libelf")
|
||||
|
||||
def clean(self):
|
||||
for dir in dwarf_dirs:
|
||||
with working_dir(dir):
|
||||
if os.path.exists('Makefile'):
|
||||
make('clean')
|
||||
|
||||
|
||||
def install(self, spec, prefix):
|
||||
# dwarf build does not set arguments for ar properly
|
||||
make.add_default_arg('ARFLAGS=rcs')
|
||||
|
||||
# Dwarf doesn't provide an install, so we have to do it.
|
||||
mkdirp(prefix.bin, prefix.include, prefix.lib, prefix.man1)
|
||||
|
||||
with working_dir('libdwarf'):
|
||||
configure("--prefix=%s" % prefix, '--enable-shared')
|
||||
make()
|
||||
|
||||
install('libdwarf.a', prefix.lib)
|
||||
install('libdwarf.so', prefix.lib)
|
||||
install('libdwarf.h', prefix.include)
|
||||
install('dwarf.h', prefix.include)
|
||||
|
||||
with working_dir('dwarfdump2'):
|
||||
configure("--prefix=%s" % prefix)
|
||||
|
||||
# This makefile has strings of copy commands that
|
||||
# cause a race in parallel
|
||||
make(parallel=False)
|
||||
|
||||
install('dwarfdump', prefix.bin)
|
||||
install('dwarfdump.conf', prefix.lib)
|
||||
install('dwarfdump.1', prefix.man1)
|
||||
pass
|
||||
|
@ -16,6 +16,4 @@ class Mpich(Package):
|
||||
provides('mpi@:1', when='@1:')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
make()
|
||||
make("install")
|
||||
pass
|
||||
|
@ -13,6 +13,4 @@ class Mpileaks(Package):
|
||||
depends_on("callpath")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
make()
|
||||
make("install")
|
||||
pass
|
||||
|
@ -12,6 +12,4 @@ class Zmpi(Package):
|
||||
depends_on('fake')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
make()
|
||||
make("install")
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user