aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ncurses
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-03-28 12:12:51 +0200
committerKoen Kooi <koen@openembedded.org>2010-03-28 12:12:51 +0200
commit6deff76b8df5b764066e427a889a14e4729a93c1 (patch)
tree06ebe65bf25c619ceec88842113b3a320a9543ef /recipes/ncurses
parent11dddaa1ebc9d9726ea0a7db15f11676d417e55c (diff)
downloadopenembedded-6deff76b8df5b764066e427a889a14e4729a93c1.tar.gz
ncurses: convert to new-style staging
Diffstat (limited to 'recipes/ncurses')
-rw-r--r--recipes/ncurses/ncurses.inc9
1 files changed, 2 insertions, 7 deletions
diff --git a/recipes/ncurses/ncurses.inc b/recipes/ncurses/ncurses.inc
index 344c82072f..bfecfff1bb 100644
--- a/recipes/ncurses/ncurses.inc
+++ b/recipes/ncurses/ncurses.inc
@@ -30,13 +30,6 @@ export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}"
export BUILD_LDFLAGS = ""
export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
-do_stage() {
- autotools_stage_all
- ln -sf curses.h ${STAGING_INCDIR}/ncurses.h
- ln -sf libncurses.so ${STAGING_LIBDIR}/libtermcap.so
- ln -sf libncurses.a ${STAGING_LIBDIR}/libtermcap.a
-}
-
# This is necessary so that the "tic" command executed during the install can
# link with the correct libary in staging.
export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}"
@@ -47,6 +40,8 @@ do_install() {
# our ncurses has termcap support
ln -sf libncurses.so ${D}${libdir}/libtermcap.so
ln -sf libncurses.a ${D}${libdir}/libtermcap.a
+ ln -sf curses.h ${D}${includedir}/ncurses.h
+
# include some basic terminfo files
# stolen ;) from gentoo and modified a bit