summaryrefslogtreecommitdiff
path: root/package/ncurses/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ncurses/Makefile')
-rw-r--r--package/ncurses/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index 6f312d3a1..053d06fe2 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= ncurses
PKG_VERSION:= 5.7
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= cce05daf61a64501ef6cd8da1f727ec6
PKG_DESCR:= a terminal handling library
PKG_SECTION:= libs
@@ -48,19 +48,20 @@ CONFIGURE_ARGS+= --without-cxx \
ALL_TARGET:= libs
INSTALL_TARGET:= install.libs install.data
-ifeq (${ADK_HOST_CYGWIN},y)
-CONFOPT:= --with-shared
-endif
-
pre-configure:
+ # create tic host binary
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
./configure \
- ${CONFOPT} \
+ --with-shared \
--with-build-cc=${HOSTCC} \
--with-progs \
+ --without-debug \
+ --without-profile \
);
${MAKE} -C ${WRKBUILD}/include
${MAKE} -C ${WRKBUILD}/progs
+ find ${WRKBUILD} -name *.o -exec rm {} \;
+ find ${WRKBUILD} -name *.a -exec rm {} \;
post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
# this is installed as libncurses - make libcurses a "link"