diff options
Diffstat (limited to 'meta/recipes-devtools/intltool/intltool.inc')
-rw-r--r-- | meta/recipes-devtools/intltool/intltool.inc | 27 |
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 0000000000..bf0e45bea3 --- /dev/null +++ b/meta/recipes-devtools/intltool/intltool.inc | |||
@@ -0,0 +1,27 @@ | |||
1 | DESCRIPTION = "Utility scripts for internationalizing XML" | ||
2 | SECTION = "devel" | ||
3 | LICENSE = "GPLv2" | ||
4 | |||
5 | URLV="${@'.'.join(d.getVar('PV',1).split('.')[0:2])}" | ||
6 | SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz" | ||
7 | S = "${WORKDIR}/intltool-${PV}" | ||
8 | |||
9 | DEPENDS = "libxml-parser-perl-native" | ||
10 | RDEPENDS_${PN} = "gettext-dev libxml-parser-perl" | ||
11 | DEPENDS_class-native = "libxml-parser-perl-native" | ||
12 | # gettext is assumed to exist on the host | ||
13 | RDEPENDS_${PN}_class-native = "libxml-parser-perl-native" | ||
14 | RRECOMMENDS_${PN} = "perl-modules" | ||
15 | RRECOMMENDS_${PN}_class-native = "" | ||
16 | |||
17 | FILES_${PN}-dev = "" | ||
18 | FILES_${PN} += "${datadir}/aclocal" | ||
19 | |||
20 | INSANE_SKIP_${PN} += "dev-deps" | ||
21 | |||
22 | inherit autotools pkgconfig perlnative | ||
23 | |||
24 | export PERL = "${bindir}/env perl" | ||
25 | PERL_class-native = "/usr/bin/env nativeperl" | ||
26 | |||
27 | BBCLASSEXTEND = "native" | ||