diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 13:04:55 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 13:04:55 +0000 |
commit | 22569b845203ec07a64b356c18aa1e6625a490eb (patch) | |
tree | 5b49d2d3b5fc04b920cef0ce248dccc2680aa06b | |
parent | e82831ca11e4da8393306d849c842811130545ee (diff) | |
download | openembedded-core-22569b845203ec07a64b356c18aa1e6625a490eb.tar.gz openembedded-core-22569b845203ec07a64b356c18aa1e6625a490eb.tar.bz2 openembedded-core-22569b845203ec07a64b356c18aa1e6625a490eb.tar.xz openembedded-core-22569b845203ec07a64b356c18aa1e6625a490eb.zip |
ncurses: Use do_install (and add missing symlink)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/ncurses/ncurses.inc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/packages/ncurses/ncurses.inc b/meta/packages/ncurses/ncurses.inc index 025ba834f..259750cb4 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}" 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}" @@ -54,6 +47,8 @@ export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}" do_install() { autotools_do_install + ln -sf curses.h ${D}${includedir}/ncurses.h + # our ncurses has termcap support ln -sf libncurses.so ${D}${libdir}/libtermcap.so ln -sf libncurses.a ${D}${libdir}/libtermcap.a |