package/perl-devel-size: new package
authorJoeri Barbarien <joeri.barbarien@nokia.com>
Mon, 7 Dec 2020 10:04:39 +0000 (11:04 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 21 Dec 2020 09:28:33 +0000 (10:28 +0100)
Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
DEVELOPERS
package/Config.in
package/perl-devel-size/Config.in [new file with mode: 0644]
package/perl-devel-size/perl-devel-size.hash [new file with mode: 0644]
package/perl-devel-size/perl-devel-size.mk [new file with mode: 0644]

index a8a1306b1b9bb9e19b22e48ee6c00def22bf5cf4..ad9670662752101dd183d710b2bf99a938822439 100644 (file)
@@ -2511,6 +2511,7 @@ F:        package/perl-crypt-blowfish/
 F:     package/perl-crypt-cbc/
 F:     package/perl-crypt-openssl-aes/
 F:     package/perl-devel-cycle/
+F:     package/perl-devel-size/
 F:     package/perl-i18n/
 F:     package/perl-locale-maketext-lexicon/
 F:     package/perl-lwp-protocol-https/
index 691fafceb4118a05f0d69baad9971a73e9ed880e..ae4a41115ccec580de5cf1779ee3abbc267f1383 100644 (file)
@@ -741,6 +741,7 @@ menu "Perl libraries/modules"
        source "package/perl-dbi/Config.in"
        source "package/perl-devel-cycle/Config.in"
        source "package/perl-devel-globaldestruction/Config.in"
+       source "package/perl-devel-size/Config.in"
        source "package/perl-devel-stacktrace/Config.in"
        source "package/perl-devel-stacktrace-ashtml/Config.in"
        source "package/perl-device-serialport/Config.in"
diff --git a/package/perl-devel-size/Config.in b/package/perl-devel-size/Config.in
new file mode 100644 (file)
index 0000000..b545cf1
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PERL_DEVEL_SIZE
+       bool "perl-devel-size"
+       depends on !BR2_STATIC_LIBS
+       help
+         Perl extension for finding the memory usage of Perl
+         variables.
+
+         https://metacpan.org/release/Devel-Size
+
+comment "perl-devel-size needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS
diff --git a/package/perl-devel-size/perl-devel-size.hash b/package/perl-devel-size/perl-devel-size.hash
new file mode 100644 (file)
index 0000000..c0fbcf2
--- /dev/null
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5  0b5335d69402c75d5ab9978027ae2f66  Devel-Size-0.83.tar.gz
+sha256  757a67e0aa59ae103ea5ca092cbecc025644ebdc326731688ffab6f8823ef4b3  Devel-Size-0.83.tar.gz
+
+# computed by scancpan
+sha256  fca4ebe3a1f329aa33a4d259c0a5b136a15a40b987c60c2dd6f1007bb01a1513  README
diff --git a/package/perl-devel-size/perl-devel-size.mk b/package/perl-devel-size/perl-devel-size.mk
new file mode 100644 (file)
index 0000000..9acc67c
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-devel-size
+#
+################################################################################
+
+PERL_DEVEL_SIZE_VERSION = 0.83
+PERL_DEVEL_SIZE_SOURCE = Devel-Size-$(PERL_DEVEL_SIZE_VERSION).tar.gz
+PERL_DEVEL_SIZE_SITE = $(BR2_CPAN_MIRROR)/authors/id/N/NW/NWCLARK
+PERL_DEVEL_SIZE_LICENSE = Artistic or GPL-1.0+
+PERL_DEVEL_SIZE_LICENSE_FILES = README
+PERL_DEVEL_SIZE_DISTNAME = Devel-Size
+
+$(eval $(perl-package))