| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 | # This file is part of the OpenADK project. OpenADK is copyrighted# material, please see the LICENCE file in the top-level directory.include ${ADK_TOPDIR}/rules.mkPKG_NAME:=		ncursesPKG_VERSION:=		5.9PKG_RELEASE:=		5PKG_MD5SUM:=		8cb9c412e5f2d96bc6f459aa8c6282a1PKG_DESCR:=		terminal handling libraryPKG_SECTION:=		libs/miscPKG_BUILDDEP:=		ncurses-hostPKG_URL:=		http://www.gnu.org/software/ncurses/PKG_SITES:=		${MASTER_SITE_GNU:=ncurses/}PKG_LIBNAME:=		libncursesPKG_OPTS:=		devDISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gzPKG_FLAVOURS_LIBNCURSES:=	FULL_TERMINFOPKGFD_FULL_TERMINFO:=		install the complete set of terminfo files as provided upstreaminclude ${ADK_TOPDIR}/mk/host.mkinclude ${ADK_TOPDIR}/mk/package.mk$(eval $(call HOST_template,LIBNCURSES,libncurses,${PKG_VERSION}-${PKG_RELEASE}))$(eval $(call PKG_template,LIBNCURSES,libncurses,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)CONFIGURE_ARGS+=	--with-staticelseCONFIGURE_ARGS+=	--with-sharedendifCONFIGURE_ENV+=		ac_cv_linux_vers=2 \			PKG_CONFIG_LIBDIR=/usr/lib/pkgconfigCONFIGURE_ARGS+=	--without-cxx \			--without-cxx-binding \			--with-build-cc=${HOST_CC} \			--without-progs \			--disable-termcap \			--enable-symlinks \			--without-ada \			--without-normal \			--enable-pc-files \			--with-termlib \			--without-debug \			--without-profile \			--without-gpm \			--without-manpages \			--without-tests \			--enable-overwrite \			--with-terminfo-dirs=/usr/share/terminfo \			--with-default-terminfo-dir=/usr/share/terminfo \			--disable-big-core \			--disable-home-terminfo \			--disable-assertions \			--without-rcs-ids \			--enable-constALL_TARGET:=		libsINSTALL_TARGET:=	install.libs install.data# use sth which does not existHOST_ALL_TARGET:=	progsHOST_INSTALL_TARGET:=	install.includes install.progsHOST_CONFIGURE_ARGS+=	--without-shared \			--with-build-cc=${HOST_CC} \			--with-progs \			--with-ticlib \			--disable-tic-depends \			--enable-symlinks \			--without-manpages \			--without-tests \			--without-cxx \			--without-cxx-binding \			--without-gpm \			--without-ada \			--disable-termcap \			--without-debug \			--without-profilelibncurses-install:	rm -rf ${WRKINST}/usr/lib/terminfo	# 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_TARGET_DIR	${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/lib	${CP} ${WRKINST}/usr/lib/lib{tinfo,form,menu,ncurses,panel}.so* \	    ${IDIR_LIBNCURSES}/usr/libifeq (${ADK_PACKAGE_LIBNCURSES_FULL_TERMINFO},y)	${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/share	${CP} ${WRKINST}/usr/share/terminfo ${IDIR_LIBNCURSES}/usr/share/else	${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/share/terminfo/	for f in ansi dumb linux screen vt100 vt102 \	    vt220 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; \	doneendifinclude ${ADK_TOPDIR}/mk/host-bottom.mkinclude ${ADK_TOPDIR}/mk/pkg-bottom.mk
 |