package/perl-encode-locale: new package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Apr 2015 10:17:01 +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-encode-locale/Config.in [new file with mode: 0644]
package/perl-encode-locale/perl-encode-locale.hash [new file with mode: 0644]
package/perl-encode-locale/perl-encode-locale.mk [new file with mode: 0644]

index 36a4915922f6d6dd9c087c4672f6f10e79e58a4d..fa42afb6c50bf8ef2673247131f2ecda9a913cf4 100644 (file)
@@ -504,6 +504,7 @@ if BR2_PACKAGE_PERL
 menu "Perl libraries/modules"
        source "package/perl-datetime-tiny/Config.in"
        source "package/perl-digest-hmac/Config.in"
+       source "package/perl-encode-locale/Config.in"
        source "package/perl-file-util/Config.in"
        source "package/perl-gd/Config.in"
        source "package/perl-gdgraph/Config.in"
diff --git a/package/perl-encode-locale/Config.in b/package/perl-encode-locale/Config.in
new file mode 100644 (file)
index 0000000..d15aecb
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_ENCODE_LOCALE
+       bool "perl-encode-locale"
+       help
+         Determine the locale encoding
+
+         https://github.com/gisle/encode-locale
diff --git a/package/perl-encode-locale/perl-encode-locale.hash b/package/perl-encode-locale/perl-encode-locale.hash
new file mode 100644 (file)
index 0000000..d1abef5
--- /dev/null
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    0565984b048732e4fd1315212f21d462 Encode-Locale-1.04.tar.gz
+sha256 33aca4aa35829bd5c8c5e64ebfde86d0a2e8cd59dac2c4de707ffe9dc10bfbd4 Encode-Locale-1.04.tar.gz
diff --git a/package/perl-encode-locale/perl-encode-locale.mk b/package/perl-encode-locale/perl-encode-locale.mk
new file mode 100644 (file)
index 0000000..fd7148e
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-encode-locale
+#
+################################################################################
+
+PERL_ENCODE_LOCALE_VERSION = 1.04
+PERL_ENCODE_LOCALE_SOURCE = Encode-Locale-$(PERL_ENCODE_LOCALE_VERSION).tar.gz
+PERL_ENCODE_LOCALE_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
+PERL_ENCODE_LOCALE_DEPENDENCIES = perl
+PERL_ENCODE_LOCALE_LICENSE = Artistic or GPLv1+
+PERL_ENCODE_LOCALE_LICENSE_FILES = README
+
+$(eval $(perl-package))