summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/intltool/intltool.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/intltool/intltool.inc')
-rw-r--r--meta/recipes-devtools/intltool/intltool.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
new file mode 100644
index 0000000..be77704
--- /dev/null
+++ b/meta/recipes-devtools/intltool/intltool.inc
@@ -0,0 +1,27 @@
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"
7S = "${WORKDIR}/intltool-${PV}"
8
9DEPENDS = "libxml-parser-perl-native"
10RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
11DEPENDS_class-native = "libxml-parser-perl-native"
12# gettext is assumed to exist on the host
13RDEPENDS_${PN}_class-native = "libxml-parser-perl-native"
14RRECOMMENDS_${PN} = "perl-modules"
15RRECOMMENDS_${PN}_class-native = ""
16
17FILES_${PN}-dev = ""
18FILES_${PN} += "${datadir}/aclocal"
19
20INSANE_SKIP_${PN} += "dev-deps"
21
22inherit autotools pkgconfig perlnative
23
24export PERL = "${bindir}/env perl"
25PERL_class-native = "/usr/bin/env nativeperl"
26
27BBCLASSEXTEND = "native"