Commit eadface3 authored by Bernd Kuhls's avatar Bernd Kuhls Committed by Thomas Petazzoni
Browse files

package/perl-encode-detect: new package



[Thomas:
 - rewrap Config.in help text
 - fix license, it's MPL-1.1, not 'open_source'.]

Signed-off-by: default avatarBernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 1284bad1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -508,6 +508,7 @@ menu "Perl libraries/modules"
	source "package/perl-db-file/Config.in"
	source "package/perl-digest-hmac/Config.in"
	source "package/perl-digest-sha1/Config.in"
	source "package/perl-encode-detect/Config.in"
	source "package/perl-encode-locale/Config.in"
	source "package/perl-file-listing/Config.in"
	source "package/perl-file-util/Config.in"
+12 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_PERL_ENCODE_DETECT
	bool "perl-encode-detect"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on !BR2_STATIC_LIBS
	help
	  An Encode::Encoding subclass that detects the encoding of
	  data.

	  https://metacpan.org/release/Encode-Detect

comment "perl-encode-detect needs a toolchain w/ C++, dynamic library"
	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP
+3 −0
Original line number Diff line number Diff line
# retrieved by scancpan from http://cpan.metacpan.org/
md5    ee9faf55d7105c97b02b8ebe590819c7 Encode-Detect-1.01.tar.gz
sha256 834d893aa7db6ce3f158afbd0e432d6ed15a276e0940db0a74be13fd9c4bbbf1 Encode-Detect-1.01.tar.gz
+14 −0
Original line number Diff line number Diff line
################################################################################
#
# perl-encode-detect
#
################################################################################

PERL_ENCODE_DETECT_VERSION = 1.01
PERL_ENCODE_DETECT_SOURCE = Encode-Detect-$(PERL_ENCODE_DETECT_VERSION).tar.gz
PERL_ENCODE_DETECT_SITE = $(BR2_CPAN_MIRROR)/authors/id/J/JG/JGMYERS
PERL_ENCODE_DETECT_DEPENDENCIES = perl host-perl-module-build
PERL_ENCODE_DETECT_LICENSE = MPL-1.1
PERL_ENCODE_DETECT_LICENSE_FILES = LICENSE

$(eval $(perl-package))