From 8dbab113a07ff8b3223d0c0ea24f85effbc7cc61 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 23 Feb 2014 15:17:17 +0100 Subject: host-perl-xml-parser: rename and refactor with perl infrastructure Even though libxml-parser-perl had a Config.in file with an option to enable it on the target, this option was hidden by a dependency on BR2_HOST_ONLY. So in practice, it was not possible to enable libxml-parser-perl on the target. This allows us to rename libxml-parser-perl to perl-xml-parser to follow the new naming convention of Perl packages, without having to introduce Config.in.legacy material. In addition to this rename, the package is converted to use the newly introduced Perl package infrastructure. Signed-off-by: Francois Perrad Tested-by: Arnout Vandecappelle (Essensium/Mind) Reviewed-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- package/perl-xml-parser/perl-xml-parser.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/perl-xml-parser/perl-xml-parser.mk (limited to 'package/perl-xml-parser/perl-xml-parser.mk') diff --git a/package/perl-xml-parser/perl-xml-parser.mk b/package/perl-xml-parser/perl-xml-parser.mk new file mode 100644 index 0000000000..fb9bf0f600 --- /dev/null +++ b/package/perl-xml-parser/perl-xml-parser.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# perl-xml-parser +# +################################################################################ + +PERL_XML_PARSER_VERSION = 2.41 +PERL_XML_PARSER_SOURCE = XML-Parser-$(PERL_XML_PARSER_VERSION).tar.gz +PERL_XML_PARSER_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR/ +PERL_XML_PARSER_DEPENDENCIES = expat +PERL_XML_PARSER_LICENSE = Artistic or GPLv1+ + +HOST_LIBXML_PARSER_PERL_CONF_OPT = \ + EXPATLIBPATH=$(HOST_DIR)/usr/lib \ + EXPATINCPATH=$(HOST_DIR)/usr/include + +$(eval $(host-perl-package)) -- cgit v1.2.3