[oe-commits] Enrico Scholz : ncurses: added libtermcap. so file for backward compatibility

git version control git at git.openembedded.org
Wed Sep 8 10:24:01 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 9e58422868a03eeafa72781477174850d1c5abe7
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9e58422868a03eeafa72781477174850d1c5abe7

Author: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Date:   Tue Sep  7 18:30:46 2010 +0200

ncurses: added libtermcap.so file for backward compatibility

Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>

---

 recipes/ncurses/ncurses-5.7/libtermcap.so |    1 +
 recipes/ncurses/ncurses_5.7.bb            |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes/ncurses/ncurses-5.7/libtermcap.so b/recipes/ncurses/ncurses-5.7/libtermcap.so
new file mode 100644
index 0000000..f74f993
--- /dev/null
+++ b/recipes/ncurses/ncurses-5.7/libtermcap.so
@@ -0,0 +1 @@
+INPUT(-ltinfo)
diff --git a/recipes/ncurses/ncurses_5.7.bb b/recipes/ncurses/ncurses_5.7.bb
index 4bfbad6..f7aac33 100644
--- a/recipes/ncurses/ncurses_5.7.bb
+++ b/recipes/ncurses/ncurses_5.7.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
 SECTION = "libs"
 PATCHDATE = "20100501"
 PKGV = "${PV}+${PATCHDATE}"
-PR = "r12"
+PR = "r13"
 
 DEPENDS = "ncurses-native unifdef-native"
 DEPENDS_virtclass-native = "unifdef-native"
@@ -17,6 +17,7 @@ SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz;name=tarball \
         ftp://invisible-island.net/ncurses/5.7/ncurses-5.7-${PATCHDATE}.patch.gz;name=p20100501 \
         file://tic-hang.patch \
         file://config.cache \
+        file://libtermcap.so \
 "
 
 SRC_URI[tarball.md5sum] = "cce05daf61a64501ef6cd8da1f727ec6"
@@ -161,6 +162,8 @@ do_install() {
                 mv ${D}${bindir}/clear ${D}${bindir}/clear.${PN}
                 mv ${D}${bindir}/reset ${D}${bindir}/reset.${PN}
         fi
+
+        install -p -m 0644 ${WORKDIR}/libtermcap.so ${D}${libdir}/
 }
 
 python populate_packages_prepend () {





More information about the Openembedded-commits mailing list