4 NCURSES_URL
:= $(GNU
)/ncurses
/ncurses-
$(NCURSES_VERSION
).
tar.gz
10 ifeq ($(call need_pkg
,"ncursesw"),)
14 $(TARBALLS
)/ncurses-
$(NCURSES_VERSION
).
tar.gz
:
15 $(call download_pkg
,$(NCURSES_URL
),ncurses
)
17 .sum-ncurses
: ncurses-
$(NCURSES_VERSION
).
tar.gz
19 ncurses
: ncurses-
$(NCURSES_VERSION
).
tar.gz .sum-ncurses
24 cd
$< && mkdir
-p
"$(PREFIX)/lib/pkgconfig" && $(HOSTVARS
) PKG_CONFIG_LIBDIR
="$(PREFIX)/lib/pkgconfig" .
/configure
$(patsubst --datarootdir
=%,,$(HOSTCONF
)) --without-debug
--enable-widec
--without-develop
--without-shared
--with-terminfo-dirs
=/usr
/share
/terminfo
--with-pkg-config
=yes
--enable-pc-files
25 cd
$</ncurses
&& make
-j1
&& make
install
26 cd
$</include && make
-j1
&& make
install
27 cd
$</misc
&& make pc-files
&& cp ncursesw.
pc "$(PREFIX)/lib/pkgconfig"