mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+midnight-commander.org (#7)
* +midnight-commander.org * add curses to CPATH; id run-time deps
This commit is contained in:
parent
12ed8f97d6
commit
bac7968464
41
projects/midnight-commander.org/package.yml
Normal file
41
projects/midnight-commander.org/package.yml
Normal 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
|
Loading…
Reference in a new issue