Commit 07bf0ae8 authored by Rafaël Carré's avatar Rafaël Carré

contrib: add ncurses

parent 19ba1d24
d7c5e54b6d4d8b9211f0006ca8786f7609d180cc1aaebf4f25e7e35e12959779cf66447359a602daed625621ca32b0d910d67aef3eb8b6fdc3c373819a88faa1 ncurses-5.9.tar.gz
# ncurses
NCURSES_VERSION := 5.9
NCURSES_URL := $(GNU)/ncurses/ncurses-$(NCURSES_VERSION).tar.gz
PKGS += ncurses
ifeq ($(call need_pkg,"ncursesw"),)
PKGS_FOUND += ncurses
endif
$(TARBALLS)/ncurses-$(NCURSES_VERSION).tar.gz:
$(call download,$(NCURSES_URL))
.sum-ncurses: ncurses-$(NCURSES_VERSION).tar.gz
ncurses: ncurses-$(NCURSES_VERSION).tar.gz .sum-ncurses
$(UNPACK)
$(MOVE)
.ncurses: ncurses
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-debug --enable-widec --without-develop --without-shared --with-terminfo-dirs=/usr/share/terminfo
cd $</ncurses && make && make install
cd $</include && make && make install
touch $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment