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

index 51f44a2c11740cde8ffb434ffaec4cdab2f8aea7..3da9973abb24f8267f9ac0d01e291a3e7ae051e9 100644 (file)
@@ -516,6 +516,7 @@ menu "Perl libraries/modules"
        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-lwp-mediatypes/Config.in"
        source "package/perl-mojolicious/Config.in"
        source "package/perl-net-dns/Config.in"
        source "package/perl-net-ssleay/Config.in"
diff --git a/package/perl-lwp-mediatypes/Config.in b/package/perl-lwp-mediatypes/Config.in
new file mode 100644 (file)
index 0000000..b362e9c
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_LWP_MEDIATYPES
+       bool "perl-lwp-mediatypes"
+       help
+         This module provides functions for handling media (also known as MIME)
+         types and encodings.
+
+         https://github.com/gisle/lwp-mediatypes
diff --git a/package/perl-lwp-mediatypes/perl-lwp-mediatypes.hash b/package/perl-lwp-mediatypes/perl-lwp-mediatypes.hash
new file mode 100644 (file)
index 0000000..0f6fee9
--- /dev/null
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    8c5f25fb64b974d22aff424476ba13c9 LWP-MediaTypes-6.02.tar.gz
+sha256 18790b0cc5f0a51468495c3847b16738f785a2d460403595001e0b932e5db676 LWP-MediaTypes-6.02.tar.gz
diff --git a/package/perl-lwp-mediatypes/perl-lwp-mediatypes.mk b/package/perl-lwp-mediatypes/perl-lwp-mediatypes.mk
new file mode 100644 (file)
index 0000000..2442d41
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-lwp-mediatypes
+#
+################################################################################
+
+PERL_LWP_MEDIATYPES_VERSION = 6.02
+PERL_LWP_MEDIATYPES_SOURCE = LWP-MediaTypes-$(PERL_LWP_MEDIATYPES_VERSION).tar.gz
+PERL_LWP_MEDIATYPES_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
+PERL_LWP_MEDIATYPES_DEPENDENCIES = perl
+PERL_LWP_MEDIATYPES_LICENSE = Artistic or GPLv1+
+PERL_LWP_MEDIATYPES_LICENSE_FILES = README
+
+$(eval $(perl-package))