From 22569b845203ec07a64b356c18aa1e6625a490eb Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 17 Nov 2009 13:04:55 +0000 Subject: ncurses: Use do_install (and add missing symlink) Signed-off-by: Richard Purdie --- meta/packages/ncurses/ncurses.inc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'meta') 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 -- cgit v1.2.3