Esempio n. 1
0
def build(build):
    return basic.build(
        build_folder='build',
        configure=lambda: cmake('-DFREEGLUT_BUILD_DEMOS=OFF', folder='..'),
        compile=make,
        install=lambda: make('install')
    )
Esempio n. 2
0
def build(build):
    return autotools.build(
        build_folder='build',
        patch=lambda: stdlib.cmd(
            'sed "s/Supscription/Subscription/g" -i source/conf/*.cpp'),
        configure=lambda: cmake('..'),
        split=drain_all_with_doc,
    )
Esempio n. 3
0
def build(build):
    return basic.build(
        build_folder='libtiff-build',
        configure=lambda: cmake(folder='..', generator='Ninja'),
        compile=ninja,
        install=ninja_install,
        check=ninja_test,
    )
Esempio n. 4
0
def build(build):
    packages = autotools.build(
        build_folder='build',
        configure=lambda: cmake(folder='..'),
    )

    packages['dev-libs/z3-dev'].drain('usr/lib64/cmake/')

    return packages
Esempio n. 5
0
def build(build):
    packages = basic.build(build_folder='build',
                           configure=lambda: cmake(folder='..'),
                           compile=make,
                           install=lambda: make('install'))

    packages['dev-libs/graphite2-dev'].drain('usr/local/{share,include}/',
                                             'usr/share/graphite2/*.cmake')

    return packages
Esempio n. 6
0
def build(build):
    return basic.build(build_folder='build',
                       configure=lambda: cmake('..'),
                       compile=make,
                       install=lambda: make('install'))