Mercurial > gub
changeset 271:cf9af2ee0c05
remove install_gub / sysinstall() methods.
author | hanwen <hanwen@xs4all.nl> |
---|---|
date | Sun, 18 Dec 2005 15:47:31 +0100 |
parents | 04195eb013ff |
children | 7342d5a4e0ec |
files | specs/gub.py |
diffstat | 1 files changed, 1 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/specs/gub.py Sun Dec 18 15:46:59 2005 +0100 +++ b/specs/gub.py Sun Dec 18 15:47:31 2005 +0100 @@ -308,8 +308,6 @@ return '%(srcdir)s/configure --prefix=%(install_prefix)s' def configure (self): - if self.settings.manager.installed ().has_key (self.name ()): - self.settings.manager.uninstall (self.name ()) self.system (''' mkdir -p %(builddir)s cd %(builddir)s && %(configure_command)s @@ -365,17 +363,7 @@ tar -C %(install_root)s -zcf %(gub_uploads)s/%(gub_name)s . ''') - def _install_gub (self, root): - self.system (''' -mkdir -p %(root)s -tar -C %(root)s -zxf %(gub_uploads)s/%(gub_name)s -''', locals ()) - - # FIXME: install in installer_root using Gpm instance - def install_gub (self): - self._install_gub (self.settings.installer_root) - - def sysinstall (self): + def xsysinstall (self): self.settings.manager.install (self.name (), '%(gub_uploads)s/%(gub_name)s' \ % self.package_dict (), @@ -445,12 +433,6 @@ # FIXME: to install this, must revert any prefix=tooldir stuff return join_lines ('''make prefix=/usr DESTDIR=%(install_root)s install''') - def install_gub (self): - pass - - def sysinstall (self): - self._install_gub (self.settings.tooldir) - def package (self): # naive tarball packages for now # cross packages must not have ./usr because of tooldir