# This file created by conda-build 3.17.1
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Tue Dec 11 14:38:52 2018
# ------------------------------------------------

package:
    name: ncurses
    version: '6.1'
source:
    fn: ncurses-6.1.tar.gz
    md5: 98c889aaf8d23910d2b92d65be2e737a
    patches:
        - ncurses-5.9-gcc-5.patch
    url: http://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz
build:
    detect_binary_files_with_prefix: true
    number: '1002'
    string: hf484d3e_1002
requirements:
    build:
        - binutils_impl_linux-64 2.31.1 h6176602_1
        - binutils_linux-64 2.31.1 h6176602_3
        - gcc_impl_linux-64 7.3.0 habb00fd_1
        - gcc_linux-64 7.3.0 h553295d_3
        - gxx_impl_linux-64 7.3.0 hdf63c60_1
        - gxx_linux-64 7.3.0 h553295d_3
        - libgcc-ng 7.3.0 hdf63c60_0
        - libstdcxx-ng 7.3.0 hdf63c60_0
        - pkg-config 0.29.2 h14c3975_1003
    host:
        - libgcc-ng 7.3.0 hdf63c60_0
        - libstdcxx-ng 7.3.0 hdf63c60_0
    run:
        - libgcc-ng >=7.3.0
        - libstdcxx-ng >=7.3.0
test:
    commands:
        - test -f ${PREFIX}/lib/libncurses.a
        - test -f ${PREFIX}/lib/libncursesw.a
        - test -f ${PREFIX}/lib/libncurses.so
        - test -f ${PREFIX}/lib/libncursesw.so
        - test -f ${PREFIX}/lib/libtinfo.a
        - test -f ${PREFIX}/lib/libtinfow.a
        - test -f ${PREFIX}/lib/libtinfo.so
        - test -f ${PREFIX}/lib/libtinfow.so
        - test -f ${PREFIX}/lib/libform.a
        - test -f ${PREFIX}/lib/libformw.a
        - test -f ${PREFIX}/lib/libform.so
        - test -f ${PREFIX}/lib/libformw.so
        - test -f ${PREFIX}/lib/libmenu.a
        - test -f ${PREFIX}/lib/libmenuw.a
        - test -f ${PREFIX}/lib/libmenu.so
        - test -f ${PREFIX}/lib/libmenuw.so
        - test -f ${PREFIX}/lib/libpanel.a
        - test -f ${PREFIX}/lib/libpanelw.a
        - test -f ${PREFIX}/lib/libpanel.so
        - test -f ${PREFIX}/lib/libpanelw.so
        - test -d ${PREFIX}/include/ncurses
        - test -d ${PREFIX}/include/ncursesw
        - test -L ${PREFIX}/include/ncurses/curses.h
        - test -L ${PREFIX}/include/ncursesw/curses.h
        - test -f ${PREFIX}/include/curses.h
        - test -L ${PREFIX}/include/ncurses/cursesapp.h
        - test -L ${PREFIX}/include/ncursesw/cursesapp.h
        - test -f ${PREFIX}/include/cursesapp.h
        - test -L ${PREFIX}/include/ncurses/cursesf.h
        - test -L ${PREFIX}/include/ncursesw/cursesf.h
        - test -f ${PREFIX}/include/cursesf.h
        - test -L ${PREFIX}/include/ncurses/cursesm.h
        - test -L ${PREFIX}/include/ncursesw/cursesm.h
        - test -f ${PREFIX}/include/cursesm.h
        - test -L ${PREFIX}/include/ncurses/cursesp.h
        - test -L ${PREFIX}/include/ncursesw/cursesp.h
        - test -f ${PREFIX}/include/cursesp.h
        - test -L ${PREFIX}/include/ncurses/cursesw.h
        - test -L ${PREFIX}/include/ncursesw/cursesw.h
        - test -f ${PREFIX}/include/cursesw.h
        - test -L ${PREFIX}/include/ncurses/cursslk.h
        - test -L ${PREFIX}/include/ncursesw/cursslk.h
        - test -f ${PREFIX}/include/cursslk.h
        - test -L ${PREFIX}/include/ncurses/eti.h
        - test -L ${PREFIX}/include/ncursesw/eti.h
        - test -f ${PREFIX}/include/eti.h
        - test -L ${PREFIX}/include/ncurses/etip.h
        - test -L ${PREFIX}/include/ncursesw/etip.h
        - test -f ${PREFIX}/include/etip.h
        - test -L ${PREFIX}/include/ncurses/form.h
        - test -L ${PREFIX}/include/ncursesw/form.h
        - test -f ${PREFIX}/include/form.h
        - test -L ${PREFIX}/include/ncurses/menu.h
        - test -L ${PREFIX}/include/ncursesw/menu.h
        - test -f ${PREFIX}/include/menu.h
        - test -L ${PREFIX}/include/ncurses/nc_tparm.h
        - test -L ${PREFIX}/include/ncursesw/nc_tparm.h
        - test -f ${PREFIX}/include/nc_tparm.h
        - test -L ${PREFIX}/include/ncurses/ncurses.h
        - test -L ${PREFIX}/include/ncursesw/ncurses.h
        - test -f ${PREFIX}/include/ncurses.h
        - test -L ${PREFIX}/include/ncurses/ncurses_dll.h
        - test -L ${PREFIX}/include/ncursesw/ncurses_dll.h
        - test -f ${PREFIX}/include/ncurses_dll.h
        - test -L ${PREFIX}/include/ncurses/panel.h
        - test -L ${PREFIX}/include/ncursesw/panel.h
        - test -f ${PREFIX}/include/panel.h
        - test -L ${PREFIX}/include/ncurses/term.h
        - test -L ${PREFIX}/include/ncursesw/term.h
        - test -f ${PREFIX}/include/term.h
        - test -L ${PREFIX}/include/ncurses/term_entry.h
        - test -L ${PREFIX}/include/ncursesw/term_entry.h
        - test -f ${PREFIX}/include/term_entry.h
        - test -L ${PREFIX}/include/ncurses/termcap.h
        - test -L ${PREFIX}/include/ncursesw/termcap.h
        - test -f ${PREFIX}/include/termcap.h
        - test -L ${PREFIX}/include/ncurses/tic.h
        - test -L ${PREFIX}/include/ncursesw/tic.h
        - test -f ${PREFIX}/include/tic.h
        - test -L ${PREFIX}/include/ncurses/unctrl.h
        - test -L ${PREFIX}/include/ncursesw/unctrl.h
        - test -f ${PREFIX}/include/unctrl.h
        - test -f ${PREFIX}/lib/pkgconfig/form.pc
        - test -f ${PREFIX}/lib/pkgconfig/formw.pc
        - test -f ${PREFIX}/lib/pkgconfig/menu.pc
        - test -f ${PREFIX}/lib/pkgconfig/menuw.pc
        - test -f ${PREFIX}/lib/pkgconfig/ncurses++.pc
        - test -f ${PREFIX}/lib/pkgconfig/ncurses++w.pc
        - test -f ${PREFIX}/lib/pkgconfig/ncurses.pc
        - test -f ${PREFIX}/lib/pkgconfig/ncursesw.pc
        - test -f ${PREFIX}/lib/pkgconfig/panel.pc
        - test -f ${PREFIX}/lib/pkgconfig/panelw.pc
        - test -f ${PREFIX}/lib/pkgconfig/tinfo.pc
        - test -f ${PREFIX}/lib/pkgconfig/tinfow.pc
        - pkg-config ncurses --libs | grep "^-L${PREFIX}/lib .*-lncurses -ltinfo$"
        - pkg-config tinfo --libs | grep "^-L${PREFIX}/lib .*-ltinfo$"
        - pkg-config ncursesw --libs | grep "^-L${PREFIX}/lib .*-lncursesw -ltinfow$"
        - pkg-config tinfow --libs | grep "^-L${PREFIX}/lib .*-ltinfow$"
    requires:
        - pkg-config
about:
    home: http://www.gnu.org/software/ncurses/
    license: Free software (MIT-like)
    summary: Library for text-based user interfaces
extra:
    copy_test_source_files: true
    final: true
    recipe-maintainers:
        - jakirkham
        - jjhelmus
