packages : moved decorators into AutotoolsPackage and CMakePackage

This commit is contained in:
alalazo
2016-10-22 01:03:07 +02:00
parent 012da99644
commit 482f60d1d3
5 changed files with 23 additions and 16 deletions

View File

@@ -25,10 +25,8 @@
from spack import *
class Autoconf(Package):
"""
Autoconf -- system configuration part of autotools
"""
class Autoconf(AutotoolsPackage):
"""Autoconf -- system configuration part of autotools"""
homepage = 'https://www.gnu.org/software/autoconf/'
url = 'http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz'
@@ -54,8 +52,3 @@ def setup_dependent_package(self, module, dependent_spec):
'ifnames']
for name in executables:
setattr(module, name, self._make_executable(name))
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
make()
make("install")