include ncursesw6-config to ncurses-dev
[termux-packages] / packages / ncurses / build.sh
index 9c2ace7..5bac62d 100755 (executable)
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library for text-based user interfaces in a terminal-ind
 _MAJOR_VERSION=6.0
 _MINOR_VERSION=20170722
 TERMUX_PKG_VERSION=${_MAJOR_VERSION}.${_MINOR_VERSION}
-TERMUX_PKG_SRCURL=ftp://invisible-island.net/ncurses/current/ncurses-${_MAJOR_VERSION}-${_MINOR_VERSION}.tgz
+TERMUX_PKG_SRCURL=http://invisible-mirror.net/archives/ncurses/current/ncurses-${_MAJOR_VERSION}-${_MINOR_VERSION}.tgz
 TERMUX_PKG_SHA256=5551eb34a75012a28dc500bf0b5b9cacce45763a0c843f2d5e8b1680be5edfd7
 # --without-normal disables static libraries:
 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
@@ -23,13 +23,15 @@ ac_cv_header_locale_h=no
 --without-tests
 --with-shared
 "
+TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="
+share/man/man1/ncursesw6-config.1
+bin/ncursesw6-config
+"
 TERMUX_PKG_RM_AFTER_INSTALL="
 bin/captoinfo
 bin/infotocap
-bin/ncursesw6-config
 share/man/man1/captoinfo.1m
 share/man/man1/infotocap.1m
-share/man/man1/ncursesw6-config.1
 "
 
 termux_step_pre_configure() {