summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/expect
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/expect
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/expect')
-rw-r--r--meta/recipes-devtools/expect/expect_5.45.4.bb12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb
index 39ae6151f6..e27b0d9d71 100644
--- a/meta/recipes-devtools/expect/expect_5.45.4.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
@@ -14,7 +14,7 @@ SECTION = "devel"
14LIC_FILES_CHKSUM = "file://license.terms;md5=fbf2de7e9102505b1439db06fc36ce5c" 14LIC_FILES_CHKSUM = "file://license.terms;md5=fbf2de7e9102505b1439db06fc36ce5c"
15 15
16DEPENDS += "tcl" 16DEPENDS += "tcl"
17RDEPENDS_${PN} = "tcl" 17RDEPENDS:${PN} = "tcl"
18 18
19inherit autotools update-alternatives 19inherit autotools update-alternatives
20 20
@@ -35,7 +35,7 @@ UPSTREAM_CHECK_REGEX = "/Expect/(?P<pver>(\d+[\.\-_]*)+)/"
35 35
36S = "${WORKDIR}/${BPN}${PV}" 36S = "${WORKDIR}/${BPN}${PV}"
37 37
38do_install_append() { 38do_install:append() {
39 install -d ${D}${libdir} 39 install -d ${D}${libdir}
40 install -m 0755 ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ 40 install -m 0755 ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/
41 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ 41 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/
@@ -47,7 +47,7 @@ do_install_append() {
47# Apparently the public Tcl headers are only in /usr/include/tcl8.6 47# Apparently the public Tcl headers are only in /usr/include/tcl8.6
48# when building for the target and nativesdk. 48# when building for the target and nativesdk.
49TCL_INCLUDE_PATH = "--with-tclinclude=${STAGING_INCDIR}/tcl8.6" 49TCL_INCLUDE_PATH = "--with-tclinclude=${STAGING_INCDIR}/tcl8.6"
50TCL_INCLUDE_PATH_class-native = "" 50TCL_INCLUDE_PATH:class-native = ""
51 51
52EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \ 52EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
53 --enable-shared \ 53 --enable-shared \
@@ -57,12 +57,12 @@ EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
57 " 57 "
58EXTRA_OEMAKE_install = " 'SCRIPTS=' " 58EXTRA_OEMAKE_install = " 'SCRIPTS=' "
59 59
60ALTERNATIVE_${PN} = "mkpasswd" 60ALTERNATIVE:${PN} = "mkpasswd"
61ALTERNATIVE_LINK_NAME[mkpasswd] = "${bindir}/mkpasswd" 61ALTERNATIVE_LINK_NAME[mkpasswd] = "${bindir}/mkpasswd"
62# Use lower priority than busybox's mkpasswd (created when built with CONFIG_CRYPTPW) 62# Use lower priority than busybox's mkpasswd (created when built with CONFIG_CRYPTPW)
63ALTERNATIVE_PRIORITY[mkpasswd] = "40" 63ALTERNATIVE_PRIORITY[mkpasswd] = "40"
64 64
65FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \ 65FILES:${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \
66 ${includedir}/expect.h \ 66 ${includedir}/expect.h \
67 ${includedir}/expect_tcl.h \ 67 ${includedir}/expect_tcl.h \
68 ${includedir}/expect_comm.h \ 68 ${includedir}/expect_comm.h \
@@ -70,7 +70,7 @@ FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \
70 ${includedir}/*.h \ 70 ${includedir}/*.h \
71 " 71 "
72 72
73FILES_${PN} += "${libdir}/libexpect${PV}.so \ 73FILES:${PN} += "${libdir}/libexpect${PV}.so \
74 ${libdir}/expect${PV}/* \ 74 ${libdir}/expect${PV}/* \
75 " 75 "
76 76