summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-04-19 12:16:57 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-19 13:43:44 +0200
commitd12a4415855ad0ee34d99647dd39f0c959c119c7 (patch)
treea38eaddca39a94fdcdf80a3829253155cdf2015a
parente4920b6e18b78c2bde9a7f9b8b9c214f456fa128 (diff)
downloadbuildroot-d12a4415855ad0ee34d99647dd39f0c959c119c7.tar.gz
buildroot-d12a4415855ad0ee34d99647dd39f0c959c119c7.zip
package/perl-html-parser: New package
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/perl-html-parser/Config.in8
-rw-r--r--package/perl-html-parser/perl-html-parser.hash3
-rw-r--r--package/perl-html-parser/perl-html-parser.mk14
4 files changed, 26 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index dd41bcad2a..6f79bb530c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -508,6 +508,7 @@ menu "Perl libraries/modules"
source "package/perl-gd/Config.in"
source "package/perl-gdgraph/Config.in"
source "package/perl-gdtextutil/Config.in"
+ source "package/perl-html-parser/Config.in"
source "package/perl-html-tagset/Config.in"
source "package/perl-io-socket-ssl/Config.in"
source "package/perl-json-tiny/Config.in"
diff --git a/package/perl-html-parser/Config.in b/package/perl-html-parser/Config.in
new file mode 100644
index 0000000000..afdd5237bb
--- /dev/null
+++ b/package/perl-html-parser/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PERL_HTML_PARSER
+ bool "perl-html-parser"
+ select BR2_PACKAGE_PERL_HTML_TAGSET
+ help
+ The HTML-Parser distribution is is a collection of modules that parse
+ and extract information from HTML documents
+
+ http://github.com/gisle/html-parser
diff --git a/package/perl-html-parser/perl-html-parser.hash b/package/perl-html-parser/perl-html-parser.hash
new file mode 100644
index 0000000000..eed22b7a24
--- /dev/null
+++ b/package/perl-html-parser/perl-html-parser.hash
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 9128a45893097dfa3bf03301b19c5efe HTML-Parser-3.71.tar.gz
+sha256 be918b3749d3ff93627f72ee4b825683332ecb4c81c67a3a8d72b0435ffbd802 HTML-Parser-3.71.tar.gz
diff --git a/package/perl-html-parser/perl-html-parser.mk b/package/perl-html-parser/perl-html-parser.mk
new file mode 100644
index 0000000000..ecdd7fd4f8
--- /dev/null
+++ b/package/perl-html-parser/perl-html-parser.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-html-parser
+#
+################################################################################
+
+PERL_HTML_PARSER_VERSION = 3.71
+PERL_HTML_PARSER_SOURCE = HTML-Parser-$(PERL_HTML_PARSER_VERSION).tar.gz
+PERL_HTML_PARSER_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
+PERL_HTML_PARSER_DEPENDENCIES = perl perl-html-tagset
+PERL_HTML_PARSER_LICENSE = Artistic or GPLv1+
+PERL_HTML_PARSER_LICENSE_FILES = README
+
+$(eval $(perl-package))
OpenPOWER on IntegriCloud