ncurses include path

This commit is contained in:
Jacob Heider 2022-12-05 16:37:45 -04:00 committed by Max Howell
parent ab21cd2309
commit 00c76de9f1

View file

@ -5,12 +5,14 @@ distributable:
versions:
github: pixel/hexedit/tags
dependencies:
invisible-island.net/ncurses: 6
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/autoconf: '*'
invisible-island.net/ncurses: 6
script: |
./autogen.sh
@ -21,10 +23,14 @@ build:
./configure --prefix={{prefix}}
make
make install
env:
# needed to `include <curses.h>;`
CPATH: $CPATH:{{deps.invisible-island.net/ncurses.prefix}}/include/ncursesw
test:
script: |
hexedit -h
true
# FIXME: curses tool, no --version, --help is exit code 1
# hexedit -h
provides:
- bin/hexedit