| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 | # This file is part of the OpenADK project. OpenADK is copyrighted# material, please see the LICENCE file in the top-level directory.include ${TOPDIR}/rules.mkPKG_NAME:=		ncursesPKG_VERSION:=		5.7PKG_RELEASE:=		1PKG_MD5SUM:=		cce05daf61a64501ef6cd8da1f727ec6PKG_DESCR:=		a terminal handling library and common terminal definitionsPKG_SECTION:=		libsPKG_URL:=		http://www.gnu.org/software/ncurses/PKG_SITES:=		${MASTER_SITE_GNU:=ncurses/}include ${TOPDIR}/mk/package.mk$(eval $(call PKG_template,LIBNCURSES,libncurses,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))$(eval $(call PKG_template,LIBNCURSES_DEV,libncurses-dev,${PKG_VERSION}-${PKG_RELEASE},libncurses,${PKG_DESCR},${PKG_SECTION}))CONFIGURE_STYLE:=	gnuCONFIGURE_ENV+=		ac_cv_linux_vers=2CONFIGURE_ARGS+=	--without-cxx \			--without-cxx-binding \			--with-build-cc=${HOSTCC} \			--without-progs \			--with-fallbacks \			--disable-termcap \			--without-ada \			--with-shared \			--with-normal \			--without-debug \			--without-profile \			--without-gpm \			--enable-overwrite \			--with-terminfo-dirs=/usr/share/terminfo \			--with-default-terminfo-dir=/usr/share/terminfo \			--disable-big-core \			--disable-home-terminfo \			--without-rcs-ids \			--enable-const \			--enable-echoBUILD_STYLE:=		autoINSTALL_STYLE:=		autoALL_TARGET:=		libsINSTALL_TARGET:=	install.libs install.dataifeq (${ADK_HOST_CYGWIN},y)CONFOPT:=		--with-sharedendifpre-configure:	(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \		./configure \		${CONFOPT} \		--with-build-cc=${HOSTCC} \		--with-progs \	);	${MAKE} -C ${WRKBUILD}/include	${MAKE} -C ${WRKBUILD}/progspost-install:	# this is installed as libncurses - make libcurses a "link"	rm -f ${WRKINST}/usr/lib/libcurses.so*	echo 'GROUP(-lncurses)' >${WRKINST}/usr/lib/libcurses.so	# libcurses will not show up in the IPKG, only in STAGING_DIR	${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/share/terminfo	${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/lib	${CP} ${WRKINST}/usr/lib/lib{form,menu,ncurses,panel}.so* \	    ${IDIR_LIBNCURSES}/usr/lib	${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/share/terminfo/	for f in ansi dumb linux rxvt screen vt100 vt102 \	    vt220 wsvt25 xterm xterm-color xterm-xfree86; do \		${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/share/terminfo/$${f:0:1}; \		${INSTALL_DATA} ${WRKINST}/usr/share/terminfo/*/$$f \		    ${IDIR_LIBNCURSES}/usr/share/terminfo/$${f:0:1}/$$f; \	done	${INSTALL_DIR} ${IDIR_LIBNCURSES_DEV}/usr/include	${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBNCURSES_DEV}/usr/includeinclude ${TOPDIR}/mk/pkg-bottom.mk
 |