From eadface39e0cf57e3fa48c4c2b5d3df727d1881b Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 26 Apr 2015 11:37:15 +0200 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/perl-encode-detect/Config.in | 12 ++++++++++++ package/perl-encode-detect/perl-encode-detect.hash | 3 +++ package/perl-encode-detect/perl-encode-detect.mk | 14 ++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/perl-encode-detect/Config.in create mode 100644 package/perl-encode-detect/perl-encode-detect.hash create mode 100644 package/perl-encode-detect/perl-encode-detect.mk diff --git a/package/Config.in b/package/Config.in index 6ca42762d8..da185becc8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/perl-encode-detect/Config.in b/package/perl-encode-detect/Config.in new file mode 100644 index 0000000000..63ea432917 --- /dev/null +++ b/package/perl-encode-detect/Config.in @@ -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 diff --git a/package/perl-encode-detect/perl-encode-detect.hash b/package/perl-encode-detect/perl-encode-detect.hash new file mode 100644 index 0000000000..c727a44912 --- /dev/null +++ b/package/perl-encode-detect/perl-encode-detect.hash @@ -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 diff --git a/package/perl-encode-detect/perl-encode-detect.mk b/package/perl-encode-detect/perl-encode-detect.mk new file mode 100644 index 0000000000..de9c2ff0b6 --- /dev/null +++ b/package/perl-encode-detect/perl-encode-detect.mk @@ -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)) -- 2.30.2