From c79befcc1a0791df92460439f933843661db82e2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 28 Aug 2009 21:35:19 +0200 Subject: add more packages needed for native builds - add bison,flex,diffutils,autoconf,automake,libtool,m4,gperf - add {glibc,eglibc,uclibc}-dev packages - add libz/libncurses development packages - add PKG_OPTS to setup special options for packages noremove is needed for uclibc/eglibc/glibc packages, otherwise needed headers will be removed slightly tested, still in development --- package/ncurses/Config.in | 9 +++++++++ package/ncurses/Makefile | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'package/ncurses') diff --git a/package/ncurses/Config.in b/package/ncurses/Config.in index e5526dbcc..63ad59b23 100644 --- a/package/ncurses/Config.in +++ b/package/ncurses/Config.in @@ -14,3 +14,12 @@ config ADK_PACKAGE_LIBNCURSES http://www.gnu.org/software/ncurses/ +config ADK_PACKAGE_LIBNCURSES_DEV + prompt "libncurses-dev.................. Ncurses development package" + tristate + default n + depends on ADK_PACKAGE_LIBNCURSES + select ADK_COMPILE_NCURSES + help + A terminal handling library + diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile index 06f2ef055..c008f1917 100644 --- a/package/ncurses/Makefile +++ b/package/ncurses/Makefile @@ -15,6 +15,7 @@ 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= gnu CONFIGURE_ENV+= ac_cv_linux_vers=2 @@ -58,7 +59,7 @@ post-install: # 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.* \ + ${CP} ${WRKINST}/usr/lib/lib{form,menu,ncurses,panel}.so* \ ${IDIR_LIBNCURSES}/usr/lib for f in a/ansi d/dumb l/linux r/rxvt s/screen v/vt100 v/vt102 \ v/vt220 w/wsvt25 x/xterm x/xterm-color x/xterm-xfree86; do \ @@ -67,5 +68,7 @@ post-install: ${INSTALL_DATA} ${WRKINST}/usr/share/terminfo/$$f \ ${IDIR_LIBNCURSES}/usr/share/terminfo/$$f; \ done + ${INSTALL_DIR} ${IDIR_LIBNCURSES_DEV}/usr/include + ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBNCURSES_DEV}/usr/include include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3