Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make configure script detection more robust #51

Open
vmrob opened this issue May 28, 2016 · 0 comments
Open

Make configure script detection more robust #51

vmrob opened this issue May 28, 2016 · 0 comments
Labels

Comments

@vmrob
Copy link
Contributor

vmrob commented May 28, 2016

Currently, autotools configure scripts are the only ones supported. A new configure, make, install builder should be included when a configure script is present but isn't an Autotools script. Ideally, we should be able to detect the presence of Autotools configure scripts without running ./configure --version as some configure scripts don't respect those flags and will start the configure process.

As an example, FFmpeg could be more easily configured:

ffmpeg:
    repository: git://source.ffmpeg.org/ffmpeg.git
    commit: n3.0.2
    dependencies:
        - x264
    project:
        environment:
            PKG_CONFIG_PATH: '{{ build_directory('x264') }}/lib/pkgconfig:{current}'
        build-steps:
            - ./configure --prefix={build_directory} --enable-gpl --enable-libx264
            - make -j8 install

Ideally this would be the library configuration:

ffmpeg:
    repository: git://source.ffmpeg.org/ffmpeg.git
    commit: n3.0.2
    dependencies:
        - x264
    project:
        environment:
            PKG_CONFIG_PATH: '{{ build_directory('x264') }}/lib/pkgconfig:{current}'
        configure-args:
            - --enable-gpl
            - --enable-libx264
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants