diff options
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg.inc')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 1c3c585d79..04fe85c4a8 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc | |||
@@ -7,7 +7,7 @@ DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alte | |||
7 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl" | 7 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl" |
8 | RDEPENDS_${PN}_class-native = "" | 8 | RDEPENDS_${PN}_class-native = "" |
9 | 9 | ||
10 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/dpkg/" | 10 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" |
11 | 11 | ||
12 | inherit autotools gettext perlnative pkgconfig perl-version update-alternatives | 12 | inherit autotools gettext perlnative pkgconfig perl-version update-alternatives |
13 | 13 | ||
@@ -30,6 +30,18 @@ EXTRA_OECONF_append_class-target = " --disable-update-alternatives DEB_HOST_ARCH | |||
30 | PACKAGECONFIG = "liblzma" | 30 | PACKAGECONFIG = "liblzma" |
31 | PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz" | 31 | PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz" |
32 | 32 | ||
33 | |||
34 | #autotools.bbclass default AUTOTOOLS_AUXDIR is ${S}, we need to under ${S}/build-aux | ||
35 | AUTOTOOLS_AUXDIR = "${S}/build-aux" | ||
36 | |||
37 | do_configure_prepend () { | ||
38 | mkdir -p ${AUTOTOOLS_AUXDIR} | ||
39 | # autotools_do_configure updates po/Makefile.in.in, we also need | ||
40 | # update dselect/po and scripts/po | ||
41 | cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/dselect/po/ | ||
42 | cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/scripts/po/ | ||
43 | } | ||
44 | |||
33 | do_install_append () { | 45 | do_install_append () { |
34 | if [ "${PN}" = "dpkg-native" ]; then | 46 | if [ "${PN}" = "dpkg-native" ]; then |
35 | # update-alternatives doesn't have an offline mode | 47 | # update-alternatives doesn't have an offline mode |