summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/intltool/intltool.inc30
-rw-r--r--meta/recipes-devtools/intltool/intltool_0.51.0.bb36
2 files changed, 29 insertions, 37 deletions
diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
deleted file mode 100644
index eb7ae004aa..0000000000
--- a/meta/recipes-devtools/intltool/intltool.inc
+++ /dev/null
@@ -1,30 +0,0 @@
1SUMMARY = "Utility scripts for internationalizing XML"
2SECTION = "devel"
3LICENSE = "GPLv2"
4
5URLV="${@'.'.join(d.getVar('PV',1).split('.')[0:2])}"
6SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
7
8UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/"
9
10S = "${WORKDIR}/intltool-${PV}"
11
12DEPENDS = "libxml-parser-perl-native"
13RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
14DEPENDS_class-native = "libxml-parser-perl-native"
15# gettext is assumed to exist on the host
16RDEPENDS_${PN}_class-native = "libxml-parser-perl-native"
17RRECOMMENDS_${PN} = "perl-modules"
18RRECOMMENDS_${PN}_class-native = ""
19
20FILES_${PN}-dev = ""
21FILES_${PN} += "${datadir}/aclocal"
22
23INSANE_SKIP_${PN} += "dev-deps"
24
25inherit autotools pkgconfig perlnative
26
27export PERL = "${bindir}/env perl"
28PERL_class-native = "/usr/bin/env nativeperl"
29
30BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/intltool/intltool_0.51.0.bb b/meta/recipes-devtools/intltool/intltool_0.51.0.bb
index d520d43c1d..0a610a31f9 100644
--- a/meta/recipes-devtools/intltool/intltool_0.51.0.bb
+++ b/meta/recipes-devtools/intltool/intltool_0.51.0.bb
@@ -1,19 +1,41 @@
1require intltool.inc 1SUMMARY = "Utility scripts for internationalizing XML"
2SECTION = "devel"
2LICENSE = "GPLv2" 3LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4 5
5SRC_URI += "file://intltool-nowarn.patch \ 6SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz \
6 file://perl-522-deprecations.patch \ 7 file://intltool-nowarn.patch \
8 file://perl-522-deprecations.patch \
7 ${NATIVEPATCHES} \ 9 ${NATIVEPATCHES} \
8 " 10 "
11SRC_URI[md5sum] = "12e517cac2b57a0121cda351570f1e63"
12SRC_URI[sha256sum] = "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
9 13
10#
11# All of the intltool scripts have the correct paths to perl already 14# All of the intltool scripts have the correct paths to perl already
12# embedded into them and can find perl fine, so we add the remove xml-check 15# embedded into them and can find perl fine, so we add the remove xml-check
13# in the intltool.m4 via the remove-xml-check.patch 16# in the intltool.m4 via the remove-xml-check.patch
14NATIVEPATCHES = "file://noperlcheck.patch \ 17NATIVEPATCHES = "file://noperlcheck.patch \
15 file://remove-xml-check.patch" 18 file://remove-xml-check.patch"
16NATIVEPATCHES_class-native = "file://use-nativeperl.patch" 19NATIVEPATCHES_class-native = "file://use-nativeperl.patch"
17 20
18SRC_URI[md5sum] = "12e517cac2b57a0121cda351570f1e63" 21UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/"
19SRC_URI[sha256sum] = "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd" 22
23DEPENDS = "libxml-parser-perl-native"
24RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
25DEPENDS_class-native = "libxml-parser-perl-native"
26# gettext is assumed to exist on the host
27RDEPENDS_${PN}_class-native = "libxml-parser-perl-native"
28RRECOMMENDS_${PN} = "perl-modules"
29RRECOMMENDS_${PN}_class-native = ""
30
31FILES_${PN}-dev = ""
32FILES_${PN} += "${datadir}/aclocal"
33
34INSANE_SKIP_${PN} += "dev-deps"
35
36inherit autotools pkgconfig perlnative
37
38export PERL = "${bindir}/env perl"
39PERL_class-native = "/usr/bin/env nativeperl"
40
41BBCLASSEXTEND = "native"