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: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015.08.x
Bernd Kuhls 2015-04-26 11:37:15 +02:00 committed by Thomas Petazzoni
parent 1284bad1c4
commit eadface39e
4 changed files with 30 additions and 0 deletions

View File

@ -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"

View File

@ -0,0 +1,12 @@
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

View File

@ -0,0 +1,3 @@
# retrieved by scancpan from http://cpan.metacpan.org/
md5 ee9faf55d7105c97b02b8ebe590819c7 Encode-Detect-1.01.tar.gz
sha256 834d893aa7db6ce3f158afbd0e432d6ed15a276e0940db0a74be13fd9c4bbbf1 Encode-Detect-1.01.tar.gz

View File

@ -0,0 +1,14 @@
################################################################################
#
# 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))