pantry/projects/midnight-commander.org/package.yml

42 lines
899 B
YAML
Raw Normal View History

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