ncurses: Use do_install (and add missing symlink)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
e82831ca11
commit
22569b8452
|
@ -40,13 +40,6 @@ export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}"
|
||||||
export BUILD_LDFLAGS = ""
|
export BUILD_LDFLAGS = ""
|
||||||
export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
|
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
|
# This is necessary so that the "tic" command executed during the install can
|
||||||
# link with the correct libary in staging.
|
# link with the correct libary in staging.
|
||||||
export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}"
|
export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}"
|
||||||
|
@ -54,6 +47,8 @@ export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}"
|
||||||
do_install() {
|
do_install() {
|
||||||
autotools_do_install
|
autotools_do_install
|
||||||
|
|
||||||
|
ln -sf curses.h ${D}${includedir}/ncurses.h
|
||||||
|
|
||||||
# our ncurses has termcap support
|
# our ncurses has termcap support
|
||||||
ln -sf libncurses.so ${D}${libdir}/libtermcap.so
|
ln -sf libncurses.so ${D}${libdir}/libtermcap.so
|
||||||
ln -sf libncurses.a ${D}${libdir}/libtermcap.a
|
ln -sf libncurses.a ${D}${libdir}/libtermcap.a
|
||||||
|
|
Loading…
Reference in New Issue