pantry/projects/midnight-commander.org/package.yml
Jacob Heider bac7968464
+midnight-commander.org (#7)
* +midnight-commander.org

* add curses to CPATH; id run-time deps
2022-11-08 14:50:05 -05:00

42 lines
899 B
YAML

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