intltool: include intltool.m4 and add missing rdepends

- include /usr/share/aclocal/intltool.m4 into the intltool
package (the files from intltool-dev must be included into the
main package, as intltool is a development tool)
- add missing rdepends: gettext-dev, libxml-parser-perl

[YOCTO #2597]

(From OE-Core rev: f5f3d3fb14e983af114afc6425dc339053927f25)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Constantin Musca 2012-09-19 12:59:14 +03:00 committed by Richard Purdie
parent 4946185084
commit 621fec0277
2 changed files with 9 additions and 2 deletions

View File

@ -7,11 +7,18 @@ SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
S = "${WORKDIR}/intltool-${PV}"
DEPENDS = "libxml-parser-perl-native"
RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
DEPENDS_virtclass-native = "libxml-parser-perl-native"
#RDEPENDS_${PN} = "libxml-parser-perl"
# gettext is assumed to exist on the host
RDEPENDS_${PN}_virtclass-native = "libxml-parser-perl-native"
RRECOMMENDS_${PN} = "perl-modules"
RRECOMMENDS_${PN}_virtclass-native = ""
FILES_${PN}-dev = ""
FILES_${PN} += "${datadir}/aclocal"
INSANE_SKIP_${PN} += "dev-deps"
inherit autotools pkgconfig perlnative
export PERL = "${bindir}/env perl"

View File

@ -1,7 +1,7 @@
require intltool.inc
LICENSE="GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
PR = "r0"
PR = "r1"
SRC_URI += "file://intltool-nowarn-0.50.0.patch \
${NATIVEPATCHES} \