From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 1/2] ncurses-5.7 : fix sdk build
Date: Sat, 28 Aug 2010 22:06:35 +0200 [thread overview]
Message-ID: <1283025996-28435-1-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <4C776F96.2000307@eukrea.com>
fix ncurses-sdk build (tested on ubuntu using angstrom 2010.x)
Signed-off-by: Eric Bénard <eric@eukrea.com>
---
recipes/ncurses/ncurses_5.7.bb | 29 ++++++++++++++---------------
1 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/recipes/ncurses/ncurses_5.7.bb b/recipes/ncurses/ncurses_5.7.bb
index 57374ec..eebeb63 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 = "r11"
+PR = "r12"
DEPENDS = "ncurses-native unifdef-native"
DEPENDS_virtclass-native = "unifdef-native"
@@ -32,7 +32,7 @@ EXTRA_AUTORECONF = "-I m4"
ENABLE_WIDEC = "true"
# Build breaks on Ubuntu else :(
ENABLE_WIDEC_virtclass-native = "false"
-
+ENABLE_WIDEC_virtclass-sdk = "false"
# Override the function from the autotools class; ncurses requires a
# patched autoconf213 to generate the configure script. This autoconf
@@ -152,10 +152,10 @@ do_install() {
python populate_packages_prepend () {
libdir = bb.data.expand("${libdir}", d)
- do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'ncurses-lib%s', 'ncurses %s library', prepend=True, extra_depends = '', allow_links=True)
+ libname = bb.data.expand('${PN}-lib%s', d)
+ do_split_packages(d, libdir, '^lib(.*)\.so\..*', libname, 'ncurses %s library', prepend=True, extra_depends = '', allow_links=True)
}
-
pkg_postinst_ncurses-tools () {
if [ "${PN}" = "ncurses" ]; then
update-alternatives --install ${bindir}/clear clear clear.${PN} 100
@@ -172,16 +172,15 @@ pkg_prerm_ncurses-tools () {
BBCLASSEXTEND = "native sdk"
-PACKAGES = " \
- ncurses-dbg \
- ncurses-dev \
- ncurses-doc \
- ncurses-tools \
- ncurses \
- ncurses-static \
- ncurses-terminfo \
+PACKAGES += " \
+ ${PN}-tools \
+ ${PN}-terminfo \
"
-RSUGGESTS_${PN} = "ncurses-terminfo"
+
+RSUGGESTS_${PN} = "${PN}-terminfo"
+RPROVIDES_${PN} = "libncurses5"
+RCONFLICTS_${PN} = "libncurses5"
+RREPLACES_${PN} = "libncurses5"
FILES_${PN} = "\
${bindir}/tput \
@@ -192,7 +191,7 @@ FILES_${PN} = "\
# This keeps only tput/tset in ncurses
# clear/reset are in already busybox
-FILES_ncurses-tools = "\
+FILES_${PN}-tools = "\
${bindir}/tic \
${bindir}/toe \
${bindir}/infotocap \
@@ -204,6 +203,6 @@ FILES_ncurses-tools = "\
${bindir}/tabs \
"
-FILES_ncurses-terminfo = "\
+FILES_${PN}-terminfo = "\
${datadir}/terminfo \
"
--
1.6.3.3
next prev parent reply other threads:[~2010-08-28 20:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-26 21:29 [PATCH] postgresql-8.1.8 : fix configure Eric Bénard
2010-08-26 21:29 ` [PATCH] ncurses-5.7 : fix sdk build Eric Bénard
2010-08-26 22:14 ` Tom Rini
2010-08-27 6:43 ` [PATCH v2] " Eric Bénard
2010-08-27 7:56 ` [PATCH] " Eric Bénard
2010-08-28 20:06 ` Eric Bénard [this message]
2010-08-28 20:06 ` [PATCH 2/2] sdk.bbclass: allow virtclass-sdk override Eric Bénard
2010-08-29 9:16 ` Khem Raj
2010-08-28 20:10 ` [PATCH 1/2] ncurses-5.7 : fix sdk build Eric Bénard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1283025996-28435-1-git-send-email-eric@eukrea.com \
--to=eric@eukrea.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.