aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/perl-io-html/Config.in6
-rw-r--r--package/perl-io-html/perl-io-html.hash3
-rw-r--r--package/perl-io-html/perl-io-html.mk14
4 files changed, 24 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 883f7e9be8..0221a59016 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -513,6 +513,7 @@ menu "Perl libraries/modules"
source "package/perl-html-parser/Config.in"
source "package/perl-html-tagset/Config.in"
source "package/perl-http-date/Config.in"
+ source "package/perl-io-html/Config.in"
source "package/perl-io-socket-ssl/Config.in"
source "package/perl-json-tiny/Config.in"
source "package/perl-mojolicious/Config.in"
diff --git a/package/perl-io-html/Config.in b/package/perl-io-html/Config.in
new file mode 100644
index 0000000000..69770226b3
--- /dev/null
+++ b/package/perl-io-html/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_IO_HTML
+ bool "perl-io-html"
+ help
+ Perl module that opens a file and performs automatic charset detection
+
+ https://github.com/madsen/io-html
diff --git a/package/perl-io-html/perl-io-html.hash b/package/perl-io-html/perl-io-html.hash
new file mode 100644
index 0000000000..8d8c48d433
--- /dev/null
+++ b/package/perl-io-html/perl-io-html.hash
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 3f8958718844dc96b9f6946f21d70d22 IO-HTML-1.001.tar.gz
+sha256 ea78d2d743794adc028bc9589538eb867174b4e165d7d8b5f63486e6b828e7e0 IO-HTML-1.001.tar.gz
diff --git a/package/perl-io-html/perl-io-html.mk b/package/perl-io-html/perl-io-html.mk
new file mode 100644
index 0000000000..3926d4411f
--- /dev/null
+++ b/package/perl-io-html/perl-io-html.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-io-html
+#
+################################################################################
+
+PERL_IO_HTML_VERSION = 1.001
+PERL_IO_HTML_SOURCE = IO-HTML-$(PERL_IO_HTML_VERSION).tar.gz
+PERL_IO_HTML_SITE = $(BR2_CPAN_MIRROR)/authors/id/C/CJ/CJM
+PERL_IO_HTML_DEPENDENCIES = perl
+PERL_IO_HTML_LICENSE = Artistic or GPLv1+
+PERL_IO_HTML_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))