summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg.inc
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/dpkg/dpkg.inc
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/dpkg/dpkg.inc')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc38
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.
5SECTION = "base" 5SECTION = "base"
6 6
7DEPENDS = "zlib bzip2 perl ncurses" 7DEPENDS = "zlib bzip2 perl ncurses"
8DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native" 8DEPENDS:class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native"
9RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl" 9RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl"
10RDEPENDS_${PN}_class-native = "" 10RDEPENDS:${PN}:class-native = ""
11 11
12UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" 12UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
13 13
14inherit autotools gettext perlnative pkgconfig perl-version update-alternatives 14inherit autotools gettext perlnative pkgconfig perl-version update-alternatives
15 15
16PERL_class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl" 16PERL:class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
17 17
18export PERL_LIBDIR = "${libdir}/perl/${@get_perl_version(d)}" 18export PERL_LIBDIR = "${libdir}/perl/${@get_perl_version(d)}"
19PERL_LIBDIR_class-native = "${libdir}/perl-native/perl/${@get_perl_version(d)}" 19PERL_LIBDIR:class-native = "${libdir}/perl-native/perl/${@get_perl_version(d)}"
20 20
21EXTRA_OECONF = "\ 21EXTRA_OECONF = "\
22 --disable-dselect \ 22 --disable-dselect \
@@ -27,8 +27,8 @@ EXTRA_OECONF = "\
27 TAR=tar \ 27 TAR=tar \
28 " 28 "
29 29
30EXTRA_OECONF_append_class-target = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}" 30EXTRA_OECONF:append:class-target = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}"
31EXTRA_OECONF_append_class-nativesdk = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}" 31EXTRA_OECONF:append:class-nativesdk = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}"
32 32
33PACKAGECONFIG = "liblzma" 33PACKAGECONFIG = "liblzma"
34PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz" 34PACKAGECONFIG[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
38AUTOTOOLS_AUXDIR = "${S}/build-aux" 38AUTOTOOLS_AUXDIR = "${S}/build-aux"
39 39
40do_configure_prepend () { 40do_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
48do_install_append () { 48do_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
58PROV = "virtual/update-alternatives" 58PROV = "virtual/update-alternatives"
59PROV_class-native = "" 59PROV:class-native = ""
60PROV_class-nativesdk = "" 60PROV:class-nativesdk = ""
61 61
62PROVIDES += "${PROV}" 62PROVIDES += "${PROV}"
63 63
64PACKAGES =+ "update-alternatives-dpkg" 64PACKAGES =+ "update-alternatives-dpkg"
65FILES_update-alternatives-dpkg = "${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives" 65FILES:update-alternatives-dpkg = "${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives"
66RPROVIDES_update-alternatives-dpkg += "update-alternatives" 66RPROVIDES:update-alternatives-dpkg += "update-alternatives"
67 67
68PACKAGES += "${PN}-perl" 68PACKAGES += "${PN}-perl"
69FILES_${PN}-perl = "${libdir}/perl/${@get_perl_version(d)}" 69FILES:${PN}-perl = "${libdir}/perl/${@get_perl_version(d)}"
70 70
71RDEPENDS_${PN}-perl += "perl-module-carp perl-module-constant \ 71RDEPENDS:${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#
94PACKAGES =+ "${PN}-start-stop" 94PACKAGES =+ "${PN}-start-stop"
95FILES_${PN}-start-stop = "${sbindir}/start-stop-daemon.${BPN}" 95FILES:${PN}-start-stop = "${sbindir}/start-stop-daemon.${BPN}"
96ALTERNATIVE_${PN}-start-stop = "start-stop-daemon" 96ALTERNATIVE:${PN}-start-stop = "start-stop-daemon"
97ALTERNATIVE_LINK_NAME[start-stop-daemon] = "${sbindir}/start-stop-daemon" 97ALTERNATIVE_LINK_NAME[start-stop-daemon] = "${sbindir}/start-stop-daemon"
98ALTERNATIVE_PRIORITY = "100" 98ALTERNATIVE_PRIORITY = "100"
99 99
100EXTRA_RDPENDS = "ldconfig" 100EXTRA_RDPENDS = "ldconfig"
101EXTRA_RDPENDS_libc-musl = "" 101EXTRA_RDPENDS:libc-musl = ""
102RDEPENDS_${PN} += "${PN}-start-stop ${EXTRA_RDPENDS}" 102RDEPENDS:${PN} += "${PN}-start-stop ${EXTRA_RDPENDS}"
103 103
104BBCLASSEXTEND = "native nativesdk" 104BBCLASSEXTEND = "native nativesdk"