contribs: microdns: Fix scan failure when connectivity gets restored
[vlc.git] / contrib / src / ncurses / rules.mak
blobeeb5dbb711443b43dfb3e65bde381684e3082586
1 # ncurses
3 NCURSES_VERSION := 5.9
4 NCURSES_URL := $(GNU)/ncurses/ncurses-$(NCURSES_VERSION).tar.gz
6 ifdef HAVE_MACOSX
7 PKGS += ncurses
8 endif
10 ifeq ($(call need_pkg,"ncursesw"),)
11 PKGS_FOUND += ncurses
12 endif
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
20 $(UNPACK)
21 $(MOVE)
23 .ncurses: 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"
28 touch $@