summaryrefslogtreecommitdiff
path: root/package/ncurses
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-28 21:35:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-28 21:35:19 +0200
commitc79befcc1a0791df92460439f933843661db82e2 (patch)
tree0aaad0895c07007617b9a4c4ef38b59d38a91a1c /package/ncurses
parent89a213bd0f0290c66cdf952d5ea5f089cd56d1e9 (diff)
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
Diffstat (limited to 'package/ncurses')
-rw-r--r--package/ncurses/Config.in9
-rw-r--r--package/ncurses/Makefile5
2 files changed, 13 insertions, 1 deletions
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