示例#1
0
 def configure(self):
     cmd = self.port.sources_root() + '/' + self.filename + ' '
     cmd += '--prefix=' + Prefix.print() + ' '
     cmd += self.get_config_options()
     cmd += self.getConfigureOptionsEnvironment()
     logging.debug("Running {0}".format(cmd))
     subprocess.call(cmd.split(' '), env=self.port.getEnvironment())
示例#2
0
 def configure(self):
     cmd = self.port.sources_root() + '/' + self.filename + ' '
     cmd += '--prefix=' + Prefix.print() + ' '
     cmd += self.get_config_options()
     cmd += self.getConfigureOptionsEnvironment()
     logging.debug("Running {0}".format(cmd))
     subprocess.call(cmd.split(' '), env=self.port.getEnvironment())
示例#3
0
    def install(self, port):

        logging.debug('Installing Port {PORTNAME} into {PREFIX}'.format(
            PORTNAME=port.portname, PREFIX=Prefix.print()))

        if not hasattr(port, 'is_installed'):
            # Same for the build plugins
            for plugin in self.manager.getPluginsOfCategory('Installing'):
                plugin.plugin_object.main(port)
示例#4
0
    def install(self, port):

        logging.debug('Installing Port {PORTNAME} into {PREFIX}'.format(PORTNAME=port.portname, PREFIX=Prefix.print()))

        if not hasattr(port, 'is_installed'):
            # Same for the build plugins
            for plugin in self.manager.getPluginsOfCategory('Installing'):
                plugin.plugin_object.main(port)