Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "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" |