diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2010-08-29 16:21:57 +0200 |
---|---|---|
committer | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2010-08-29 21:50:17 +0200 |
commit | caa254da313862ba7d1a7093c7912604b5c58644 (patch) | |
tree | 0b574df9e5d541ad15c8ba7be8f5547ce8840248 | |
parent | fae1bd646340cdaeaa09be15921984ca78f382e6 (diff) |
ncurses: use ${PN} instead of hardcoded 'ncurses' in package names
Thanks to Eric Benard for noticing this.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
-rw-r--r-- | recipes/ncurses/ncurses_5.7.bb | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/recipes/ncurses/ncurses_5.7.bb b/recipes/ncurses/ncurses_5.7.bb index 57374eca6b..8c5f78a71b 100644 --- a/recipes/ncurses/ncurses_5.7.bb +++ b/recipes/ncurses/ncurses_5.7.bb @@ -152,7 +152,8 @@ 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) + pnbase = bb.data.expand("${PN}-lib%s", d) + do_split_packages(d, libdir, '^lib(.*)\.so\..*', pnbase, 'ncurses %s library', prepend=True, extra_depends = '', allow_links=True) } @@ -173,15 +174,15 @@ pkg_prerm_ncurses-tools () { BBCLASSEXTEND = "native sdk" PACKAGES = " \ - ncurses-dbg \ - ncurses-dev \ - ncurses-doc \ - ncurses-tools \ - ncurses \ - ncurses-static \ - ncurses-terminfo \ + ${PN}-dbg \ + ${PN}-dev \ + ${PN}-doc \ + ${PN}-tools \ + ${PN} \ + ${PN}-static \ + ${PN}-terminfo \ " -RSUGGESTS_${PN} = "ncurses-terminfo" +RSUGGESTS_${PN} = "${PN}-terminfo" FILES_${PN} = "\ ${bindir}/tput \ @@ -192,7 +193,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 +205,6 @@ FILES_ncurses-tools = "\ ${bindir}/tabs \ " -FILES_ncurses-terminfo = "\ +FILES_${PN}-terminfo = "\ ${datadir}/terminfo \ " |