package/perl-io-html: New package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Apr 2015 10:17:04 +0000 (12:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Apr 2015 11:43:44 +0000 (13:43 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/perl-io-html/Config.in [new file with mode: 0644]
package/perl-io-html/perl-io-html.hash [new file with mode: 0644]
package/perl-io-html/perl-io-html.mk [new file with mode: 0644]

index 883f7e9be8a247e21c6bdcc9d07f1d7fb33260c8..0221a590166ff0078e77c5e1ff80ed10d71cde6a 100644 (file)
@@ -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 (file)
index 0000000..6977022
--- /dev/null
@@ -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 (file)
index 0000000..8d8c48d
--- /dev/null
@@ -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 (file)
index 0000000..3926d44
--- /dev/null
@@ -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))