+midnight-commander.org (#7)

* +midnight-commander.org

* add curses to CPATH; id run-time deps
This commit is contained in:
Jacob Heider 2022-11-08 14:50:05 -05:00 committed by GitHub
parent 12ed8f97d6
commit bac7968464
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,41 @@
distributable:
url: http://ftp.midnight-commander.org/mc-{{ version }}.tar.xz
strip-components: 1
versions:
github: MidnightCommander/mc/tags
provides:
- bin/mc
- bin/mcdiff
- bin/mcedit
- bin/mcview
dependencies:
invisible-island.net/ncurses: '*'
gnome.org/glib: '>=2.30'
gnu.org/gettext: '>=0.18.2'
build:
dependencies:
tea.xyz/gx/cc: '*'
tea.xyz/gx/make: '*'
gnu.org/autoconf: '>=2.64'
gnu.org/automake: '>=1.12'
gnu.org/libtool: '*'
freedesktop.org/pkg-config: '^0.29'
script: |
./configure $ARGS
make -j {{hw.concurrency}}
make install
env:
ARGS:
- --prefix={{prefix}}
- --with-screen=ncurses
# Needed for the compiler to `#include <term.h>`
CPATH: $CPATH:{{deps.invisible-island.net/ncurses.prefix}}/include/ncursesw
test:
# FIXME: hard to test interactive tools
script:
mc --configure-options