perl-xml-libxml: new package
authorFrancois Perrad <francois.perrad@gadz.org>
Sun, 29 Jun 2014 08:49:34 +0000 (10:49 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Jun 2014 08:50:17 +0000 (10:50 +0200)
[Thomas: split from the original patch of Francois.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/perl-xml-libxml/Config.in [new file with mode: 0644]
package/perl-xml-libxml/perl-xml-libxml.mk [new file with mode: 0644]

index 010f61c8e2afa15b677670b7d50417570207cdf9..a486dd5ba17eb3209bfe307b8298daf2fd39eeb5 100644 (file)
@@ -425,6 +425,7 @@ if BR2_PACKAGE_PERL
 menu "Perl libraries/modules"
        source "package/perl-mojolicious/Config.in"
        source "package/perl-net-ssleay/Config.in"
+       source "package/perl-xml-libxml/Config.in"
        source "package/perl-xml-namespacesupport/Config.in"
        source "package/perl-xml-sax-base/Config.in"
        source "package/perl-xml-sax/Config.in"
diff --git a/package/perl-xml-libxml/Config.in b/package/perl-xml-libxml/Config.in
new file mode 100644 (file)
index 0000000..9e3a44e
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PERL_XML_LIBXML
+       bool "perl-xml-libxml"
+       select BR2_PACKAGE_LIBXML2
+       select BR2_PACKAGE_ZLIB
+       select BR2_PACKAGE_PERL_XML_NAMESPACESUPPORT
+       select BR2_PACKAGE_PERL_XML_SAX
+       help
+         Interface to Gnome libxml2 xml parsing and DOM library
+
+         https://bitbucket.org/shlomif/perl-xml-libxml
diff --git a/package/perl-xml-libxml/perl-xml-libxml.mk b/package/perl-xml-libxml/perl-xml-libxml.mk
new file mode 100644 (file)
index 0000000..60a8633
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-xml-libxml
+#
+################################################################################
+
+PERL_XML_LIBXML_VERSION = 2.0116
+PERL_XML_LIBXML_SOURCE = XML-LibXML-$(PERL_XML_LIBXML_VERSION).tar.gz
+PERL_XML_LIBXML_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SH/SHLOMIF/
+PERL_XML_LIBXML_DEPENDENCIES = perl zlib libxml2 perl-xml-sax perl-xml-namespacesupport
+PERL_XML_LIBXML_LICENSE = Artistic or GPLv1+
+PERL_XML_LIBXML_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))