summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-17 13:04:55 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-17 13:04:55 +0000
commit22569b845203ec07a64b356c18aa1e6625a490eb (patch)
tree5b49d2d3b5fc04b920cef0ce248dccc2680aa06b
parente82831ca11e4da8393306d849c842811130545ee (diff)
downloadpoky-22569b845203ec07a64b356c18aa1e6625a490eb.tar.gz
ncurses: Use do_install (and add missing symlink)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/ncurses/ncurses.inc9
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/packages/ncurses/ncurses.inc b/meta/packages/ncurses/ncurses.inc
index 025ba834fa..259750cb46 100644
--- a/meta/packages/ncurses/ncurses.inc
+++ b/meta/packages/ncurses/ncurses.inc
@@ -40,13 +40,6 @@ export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}"
40export BUILD_LDFLAGS = "" 40export BUILD_LDFLAGS = ""
41export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"' 41export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
42 42
43do_stage() {
44 autotools_stage_all
45 ln -sf curses.h ${STAGING_INCDIR}/ncurses.h
46 ln -sf libncurses.so ${STAGING_LIBDIR}/libtermcap.so
47 ln -sf libncurses.a ${STAGING_LIBDIR}/libtermcap.a
48}
49
50# This is necessary so that the "tic" command executed during the install can 43# This is necessary so that the "tic" command executed during the install can
51# link with the correct libary in staging. 44# link with the correct libary in staging.
52export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}" 45export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}"
@@ -54,6 +47,8 @@ export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}"
54do_install() { 47do_install() {
55 autotools_do_install 48 autotools_do_install
56 49
50 ln -sf curses.h ${D}${includedir}/ncurses.h
51
57 # our ncurses has termcap support 52 # our ncurses has termcap support
58 ln -sf libncurses.so ${D}${libdir}/libtermcap.so 53 ln -sf libncurses.so ${D}${libdir}/libtermcap.so
59 ln -sf libncurses.a ${D}${libdir}/libtermcap.a 54 ln -sf libncurses.a ${D}${libdir}/libtermcap.a