mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
bac7968464
* +midnight-commander.org * add curses to CPATH; id run-time deps
42 lines
899 B
YAML
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
|