# Path: scripts/pkgs/utils.py
# def simple_build(configure_args=(), make_args=(), install_args=(), library_path=None, override_prefix=None, no_parallel=False, configure_name='./configure'):
#     if isinstance(configure_args, type('')):
#         configure_args = split(configure_args)
#     if isinstance(make_args, type('')):
#         make_args = split(make_args)
#     if isinstance(install_args, type('')):
#         install_args = split(install_args)
#     run(configure_name, '--prefix=' + (override_prefix or build_dir()), *configure_args)
#     make_opts = [] if no_parallel else split(MAKEOPTS)
#     run('make', *(make_opts + list(make_args)))
#     mi = ['make'] + list(install_args) + ['install']
#     run(*mi, library_path=library_path)


from .utils import simple_build
#!/usr/bin/env python2
# vim:fileencoding=utf-8
# License: GPLv3 Copyright: 2016, Kovid Goyal <kovid at kovidgoyal.net>

from __future__ import (unicode_literals, division, absolute_import,
                        print_function)



def main(args):
    simple_build('--disable-dependency-tracking --disable-static --enable-shared')



# Path: scripts/pkgs/utils.py
# def simple_build(configure_args=(), make_args=(), install_args=(), library_path=None, override_prefix=None, no_parallel=False, configure_name='./configure'):
#     if isinstance(configure_args, type('')):
#         configure_args = split(configure_args)
#     if isinstance(make_args, type('')):
#         make_args = split(make_args)
#     if isinstance(install_args, type('')):
#         install_args = split(install_args)
#     run(configure_name, '--prefix=' + (override_prefix or build_dir()), *configure_args)
#     make_opts = [] if no_parallel else split(MAKEOPTS)
#     run('make', *(make_opts + list(make_args)))
#     mi = ['make'] + list(install_args) + ['install']
#     run(*mi, library_path=library_path)


# Path: scripts/pkgs/iconv.py
from .utils import simple_build

#!/usr/bin/env python2
# vim:fileencoding=utf-8
# License: GPLv3 Copyright: 2016, Kovid Goyal <kovid at kovidgoyal.net>

from __future__ import (unicode_literals, division, absolute_import,
                        print_function)



def main(args):
    simple_build('--disable-dependency-tracking --disable-static --enable-shared')



def filter_pkg(parts):