diff options
Diffstat (limited to 'var/spack/repos/builtin/packages')
-rw-r--r-- | var/spack/repos/builtin/packages/tmux/package.py | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/var/spack/repos/builtin/packages/tmux/package.py b/var/spack/repos/builtin/packages/tmux/package.py index 63d6c943b8..a3a8e5ad89 100644 --- a/var/spack/repos/builtin/packages/tmux/package.py +++ b/var/spack/repos/builtin/packages/tmux/package.py @@ -25,7 +25,7 @@ from spack import * -class Tmux(Package): +class Tmux(AutotoolsPackage): """Tmux is a terminal multiplexer. What is a terminal multiplexer? It lets you switch easily between several @@ -45,15 +45,5 @@ class Tmux(Package): depends_on('libevent') depends_on('ncurses') - def install(self, spec, prefix): - pkg_config_path = ':'.join([ - spec['libevent'].prefix, - spec['ncurses'].prefix - ]) - - configure( - "--prefix=%s" % prefix, - "PKG_CONFIG_PATH=%s" % pkg_config_path) - - make() - make("install") + def configure_args(self): + return ['LIBTINFO_LIBS=-lncurses'] |