def __init__(self, url, md5, installed, **kwargs): m = re.match(r'.*/boost_(\d+)_(\d+)_(\d+)\.tar\.bz2$', url) version = "%s.%s.%s" % (m.group(1), m.group(2), m.group(3)) Project.__init__(self, url, md5, installed, name='boost', version=version, **kwargs)
def __init__(self, url, alternative_url, md5, installed, configure_args=[], autogen=False, cppflags='', ldflags='', libs='', shared=False, install_prefix=None, install_target='install', use_destdir=False, make_args=[], **kwargs): Project.__init__(self, url, alternative_url, md5, installed, **kwargs) self.configure_args = configure_args self.autogen = autogen self.cppflags = cppflags self.ldflags = ldflags self.libs = libs self.shared = shared self.install_prefix = install_prefix self.install_target = install_target self.use_destdir = use_destdir self.make_args = make_args
def __init__(self, url, md5, installed, configure_args=[], autogen=False, cppflags='', **kwargs): Project.__init__(self, url, md5, installed, **kwargs) self.configure_args = configure_args self.autogen = autogen self.cppflags = cppflags
def __init__(self, url, md5, installed, install_target='install', **kwargs): Project.__init__(self, url, md5, installed, **kwargs) self.install_target = install_target
def __init__(self, url, alternative_url, md5, installed, configure_args=[], **kwargs): Project.__init__(self, url, alternative_url, md5, installed, **kwargs) self.configure_args = configure_args
def __init__(self, url, md5, installed, configure_args=[], autogen=False, cppflags='', ldflags='', libs='', shared=False, install_prefix=None, install_target='install', use_destdir=False, **kwargs): Project.__init__(self, url, md5, installed, **kwargs) self.configure_args = configure_args self.autogen = autogen self.cppflags = cppflags self.ldflags = ldflags self.libs = libs self.shared = shared self.install_prefix = install_prefix self.install_target = install_target self.use_destdir = use_destdir
def run(): """ Run the builder """ global verbose import sys, os from build.project import Project verbose = True Project().build()
def __init__(self, url, md5, installed, **kwargs): Project.__init__(self, url, md5, installed, **kwargs)
def __init__(self, url, alternative_url, md5, installed, **kwargs): Project.__init__(self, url, alternative_url, md5, installed, **kwargs)
def __init__(self, url, md5, installed, configure_args=[], **kwargs): Project.__init__(self, url, md5, installed, **kwargs) self.configure_args = configure_args
def __init__(self, url, md5, installed, configure_args=[], windows_configure_args=[], **kwargs): Project.__init__(self, url, md5, installed, **kwargs) self.configure_args = configure_args self.windows_configure_args = windows_configure_args