Mercurial > gub
changeset 2510:98a09e8177cf
Nitpicks.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Wed, 25 Oct 2006 07:36:23 +0100 |
parents | 9482502df100 |
children | 5108a8b430a9 |
files | lib/toolpackage.py |
diffstat | 1 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/toolpackage.py Wed Oct 25 07:50:44 2006 +0100 +++ b/lib/toolpackage.py Wed Oct 25 07:36:23 2006 +0100 @@ -1,27 +1,28 @@ -import re -import gub import download import misc import os +import re -class ToolBuildSpec (gub.BuildSpec): +import gub + +class ToolBuildSpec (gub.BuildSpec): def configure_command (self): return (gub.BuildSpec.configure_command (self) + misc.join_lines (''' --prefix=%(buildtools)s ''')) - ## ugh: prefix= will trigger libtool relinks. + ## ugh: prefix= will trigger libtool relinks. def install_command (self): return '''make DESTDIR=%(install_root)s install''' def compile_command (self): return self.native_compile_command () - ## we need to tar up %(install_root)//%(prefix) + ## we need to tar up %(install_root)/%(prefix) def packaging_suffix_dir (self): return '%(system_root)s' - + def get_subpackage_names (self): return [''] @@ -36,5 +37,5 @@ 'CPLUS_INCLUDE_PATH': '%(buildtools)s/include', } dict.update (env) - d = gub.BuildSpec.get_substitution_dict (self, dict).copy() + d = gub.BuildSpec.get_substitution_dict (self, dict).copy () return d