diff options
Diffstat (limited to 'packages/perl/libxml-parser-perl_2.34.bb')
-rw-r--r-- | packages/perl/libxml-parser-perl_2.34.bb | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/packages/perl/libxml-parser-perl_2.34.bb b/packages/perl/libxml-parser-perl_2.34.bb index 25fec1e093..67ee0bd8de 100644 --- a/packages/perl/libxml-parser-perl_2.34.bb +++ b/packages/perl/libxml-parser-perl_2.34.bb @@ -1,14 +1,17 @@ SECTION = "libs" LICENSE = "Artistic" -PR = "r2" +DEPENDS += "expat-native" +PR = "r4" SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz" S = "${WORKDIR}/XML-Parser-${PV}" +EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" + inherit cpan -FILES_${PN} = "${libdir}/perl5/*/*/auto/XML/Parser/Expat/* \ - ${libdir}/perl5/*/*/auto/XML/Parser/.packlist \ - ${libdir}/perl5/*/*/XML" -FILES_${PN}-dbg += "${libdir}/perl5/*/*/auto/XML/Parser/Expat/.debug" +FILES_${PN} = "${PERLLIBDIRS}/auto/XML/Parser/Expat/* \ + ${PERLLIBDIRS}/auto/XML/Parser/.packlist \ + ${PERLLIBDIRS}/XML" +FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/XML/Parser/Expat/.debug" |