diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/dpkg/dpkg.inc | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-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/dpkg/dpkg.inc')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 7acfb4161d..b6807b004f 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc | |||
@@ -5,18 +5,18 @@ DESCRIPTION = "The primary interface for the dpkg suite is the dselect program. | |||
5 | SECTION = "base" | 5 | SECTION = "base" |
6 | 6 | ||
7 | DEPENDS = "zlib bzip2 perl ncurses" | 7 | DEPENDS = "zlib bzip2 perl ncurses" |
8 | DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native" | 8 | DEPENDS:class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native" |
9 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl" | 9 | RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl" |
10 | RDEPENDS_${PN}_class-native = "" | 10 | RDEPENDS:${PN}:class-native = "" |
11 | 11 | ||
12 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" | 12 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" |
13 | 13 | ||
14 | inherit autotools gettext perlnative pkgconfig perl-version update-alternatives | 14 | inherit autotools gettext perlnative pkgconfig perl-version update-alternatives |
15 | 15 | ||
16 | PERL_class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl" | 16 | PERL:class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl" |
17 | 17 | ||
18 | export PERL_LIBDIR = "${libdir}/perl/${@get_perl_version(d)}" | 18 | export PERL_LIBDIR = "${libdir}/perl/${@get_perl_version(d)}" |
19 | PERL_LIBDIR_class-native = "${libdir}/perl-native/perl/${@get_perl_version(d)}" | 19 | PERL_LIBDIR:class-native = "${libdir}/perl-native/perl/${@get_perl_version(d)}" |
20 | 20 | ||
21 | EXTRA_OECONF = "\ | 21 | EXTRA_OECONF = "\ |
22 | --disable-dselect \ | 22 | --disable-dselect \ |
@@ -27,8 +27,8 @@ EXTRA_OECONF = "\ | |||
27 | TAR=tar \ | 27 | TAR=tar \ |
28 | " | 28 | " |
29 | 29 | ||
30 | EXTRA_OECONF_append_class-target = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}" | 30 | EXTRA_OECONF:append:class-target = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}" |
31 | EXTRA_OECONF_append_class-nativesdk = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}" | 31 | EXTRA_OECONF:append:class-nativesdk = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}" |
32 | 32 | ||
33 | PACKAGECONFIG = "liblzma" | 33 | PACKAGECONFIG = "liblzma" |
34 | PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz" | 34 | PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz" |
@@ -37,7 +37,7 @@ PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz" | |||
37 | #autotools.bbclass default AUTOTOOLS_AUXDIR is ${S}, we need to under ${S}/build-aux | 37 | #autotools.bbclass default AUTOTOOLS_AUXDIR is ${S}, we need to under ${S}/build-aux |
38 | AUTOTOOLS_AUXDIR = "${S}/build-aux" | 38 | AUTOTOOLS_AUXDIR = "${S}/build-aux" |
39 | 39 | ||
40 | do_configure_prepend () { | 40 | do_configure:prepend () { |
41 | mkdir -p ${AUTOTOOLS_AUXDIR} | 41 | mkdir -p ${AUTOTOOLS_AUXDIR} |
42 | # autotools_do_configure updates po/Makefile.in.in, we also need | 42 | # autotools_do_configure updates po/Makefile.in.in, we also need |
43 | # update dselect/po and scripts/po | 43 | # update dselect/po and scripts/po |
@@ -45,7 +45,7 @@ do_configure_prepend () { | |||
45 | cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/scripts/po/ | 45 | cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/scripts/po/ |
46 | } | 46 | } |
47 | 47 | ||
48 | do_install_append () { | 48 | do_install:append () { |
49 | if [ "${PN}" = "dpkg-native" ]; then | 49 | if [ "${PN}" = "dpkg-native" ]; then |
50 | # update-alternatives doesn't have an offline mode | 50 | # update-alternatives doesn't have an offline mode |
51 | rm ${D}${bindir}/update-alternatives | 51 | rm ${D}${bindir}/update-alternatives |
@@ -56,19 +56,19 @@ do_install_append () { | |||
56 | } | 56 | } |
57 | 57 | ||
58 | PROV = "virtual/update-alternatives" | 58 | PROV = "virtual/update-alternatives" |
59 | PROV_class-native = "" | 59 | PROV:class-native = "" |
60 | PROV_class-nativesdk = "" | 60 | PROV:class-nativesdk = "" |
61 | 61 | ||
62 | PROVIDES += "${PROV}" | 62 | PROVIDES += "${PROV}" |
63 | 63 | ||
64 | PACKAGES =+ "update-alternatives-dpkg" | 64 | PACKAGES =+ "update-alternatives-dpkg" |
65 | FILES_update-alternatives-dpkg = "${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives" | 65 | FILES:update-alternatives-dpkg = "${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives" |
66 | RPROVIDES_update-alternatives-dpkg += "update-alternatives" | 66 | RPROVIDES:update-alternatives-dpkg += "update-alternatives" |
67 | 67 | ||
68 | PACKAGES += "${PN}-perl" | 68 | PACKAGES += "${PN}-perl" |
69 | FILES_${PN}-perl = "${libdir}/perl/${@get_perl_version(d)}" | 69 | FILES:${PN}-perl = "${libdir}/perl/${@get_perl_version(d)}" |
70 | 70 | ||
71 | RDEPENDS_${PN}-perl += "perl-module-carp perl-module-constant \ | 71 | RDEPENDS:${PN}-perl += "perl-module-carp perl-module-constant \ |
72 | perl-module-cwd perl-module-digest \ | 72 | perl-module-cwd perl-module-digest \ |
73 | perl-module-digest-md5 perl-module-errno \ | 73 | perl-module-digest-md5 perl-module-errno \ |
74 | perl-module-exporter perl-module-fcntl \ | 74 | perl-module-exporter perl-module-fcntl \ |
@@ -92,13 +92,13 @@ RDEPENDS_${PN}-perl += "perl-module-carp perl-module-constant \ | |||
92 | # the bitbake version. | 92 | # the bitbake version. |
93 | # | 93 | # |
94 | PACKAGES =+ "${PN}-start-stop" | 94 | PACKAGES =+ "${PN}-start-stop" |
95 | FILES_${PN}-start-stop = "${sbindir}/start-stop-daemon.${BPN}" | 95 | FILES:${PN}-start-stop = "${sbindir}/start-stop-daemon.${BPN}" |
96 | ALTERNATIVE_${PN}-start-stop = "start-stop-daemon" | 96 | ALTERNATIVE:${PN}-start-stop = "start-stop-daemon" |
97 | ALTERNATIVE_LINK_NAME[start-stop-daemon] = "${sbindir}/start-stop-daemon" | 97 | ALTERNATIVE_LINK_NAME[start-stop-daemon] = "${sbindir}/start-stop-daemon" |
98 | ALTERNATIVE_PRIORITY = "100" | 98 | ALTERNATIVE_PRIORITY = "100" |
99 | 99 | ||
100 | EXTRA_RDPENDS = "ldconfig" | 100 | EXTRA_RDPENDS = "ldconfig" |
101 | EXTRA_RDPENDS_libc-musl = "" | 101 | EXTRA_RDPENDS:libc-musl = "" |
102 | RDEPENDS_${PN} += "${PN}-start-stop ${EXTRA_RDPENDS}" | 102 | RDEPENDS:${PN} += "${PN}-start-stop ${EXTRA_RDPENDS}" |
103 | 103 | ||
104 | BBCLASSEXTEND = "native nativesdk" | 104 | BBCLASSEXTEND = "native nativesdk" |