From 0ac6713cee7e683b08234df14fff652cfbfef91b Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sun, 28 May 2023 12:12:40 +0200 Subject: [PATCH] package/perl-clone: new package perl-clone is a new mandatory dependency of perl-http-message v6.44 that is already available in Buildroot since commit [1]. [1] 79e8aad721099eb05e60b449432136691275022f Signed-off-by: Romain Naour Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/perl-clone/Config.in | 10 ++++++++++ package/perl-clone/perl-clone.hash | 6 ++++++ package/perl-clone/perl-clone.mk | 14 ++++++++++++++ 4 files changed, 31 insertions(+) create mode 100644 package/perl-clone/Config.in create mode 100644 package/perl-clone/perl-clone.hash create mode 100644 package/perl-clone/perl-clone.mk diff --git a/package/Config.in b/package/Config.in index 420ebaa370..0cf2f3998c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -796,6 +796,7 @@ menu "Perl libraries/modules" source "package/perl-class-method-modifiers/Config.in" source "package/perl-class-std/Config.in" source "package/perl-class-std-fast/Config.in" + source "package/perl-clone/Config.in" source "package/perl-convert-asn1/Config.in" source "package/perl-cookie-baker/Config.in" source "package/perl-crypt-blowfish/Config.in" diff --git a/package/perl-clone/Config.in b/package/perl-clone/Config.in new file mode 100644 index 0000000000..78f13dfe6b --- /dev/null +++ b/package/perl-clone/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PERL_CLONE + bool "perl-clone" + depends on !BR2_STATIC_LIBS + help + recursively copy Perl datatypes. + + https://metacpan.org/release/Clone + +comment "perl-clone needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/package/perl-clone/perl-clone.hash b/package/perl-clone/perl-clone.hash new file mode 100644 index 0000000000..7b69b97d06 --- /dev/null +++ b/package/perl-clone/perl-clone.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from https://cpan.metacpan.org/ +md5 cafa8984a2c2e005e54b27dd1e3f0afe Clone-0.46.tar.gz +sha256 aadeed5e4c8bd6bbdf68c0dd0066cb513e16ab9e5b4382dc4a0aafd55890697b Clone-0.46.tar.gz + +# computed by scancpan +sha256 40aa7eb133e97b075024380640528760a54aefc344781741ed02539a375db5ac README.md diff --git a/package/perl-clone/perl-clone.mk b/package/perl-clone/perl-clone.mk new file mode 100644 index 0000000000..9e04329eab --- /dev/null +++ b/package/perl-clone/perl-clone.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-clone +# +################################################################################ + +PERL_CLONE_VERSION = 0.46 +PERL_CLONE_SOURCE = Clone-$(PERL_CLONE_VERSION).tar.gz +PERL_CLONE_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GARU +PERL_CLONE_LICENSE = Artistic or GPL-1.0+ +PERL_CLONE_LICENSE_FILES = README.md +PERL_CLONE_DISTNAME = Clone + +$(eval $(perl-package))