From patchwork Fri Aug 10 16:15:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher McCrory X-Patchwork-Id: 956327 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RQ29Wo+9"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41n9G70bThz9s4Z for ; Sat, 11 Aug 2018 02:15:43 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9A7BE87CB6; Fri, 10 Aug 2018 16:15:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKHd0+b44kyp; Fri, 10 Aug 2018 16:15:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 92A8087CB8; Fri, 10 Aug 2018 16:15:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C99C01C0D59 for ; Fri, 10 Aug 2018 16:15:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C3A2B228AE for ; Fri, 10 Aug 2018 16:15:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7YF+f6wPTR8w for ; Fri, 10 Aug 2018 16:15:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by silver.osuosl.org (Postfix) with ESMTPS id 2B45523026 for ; Fri, 10 Aug 2018 16:15:34 +0000 (UTC) Received: by mail-pf1-f173.google.com with SMTP id e13-v6so4744784pff.7 for ; Fri, 10 Aug 2018 09:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6E0O98bIRBkjzG2GAjkmbiDoBkWJ3un4G472ldOvaQU=; b=RQ29Wo+9DRRW9aKLmayA6NteQoJrKazi4c4MzUUl8CX2TS1UPPk0g+fA4Qj+zRPs9e D3jhd9Fzf3BnGD1LZ32DeBWw3PfT0VbC4K3pec3m1oArdSxIwkg8wes3gtsFm+blSmjr pPNJEBUg9KZmqlrEIBJvVXM6+q1b8YddU310/4HvA7xmBRAxhUzsWYI+/DQ9ifNmBU42 OSY6/2YyGCIQ9ygIpUjH+2+6Gq8HYnGcVxHdgBP3mxjuXRlzUvBj2UgJhjZBWH4FwPU6 BTcsPQQmqlBCrU2ja4SpzF+UBvCon1BYrl1tCVdyL2POSto8nKt/+e8uIM8ME2hPMq6U rfxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6E0O98bIRBkjzG2GAjkmbiDoBkWJ3un4G472ldOvaQU=; b=smDp/BSkh1N2/vOuBpIIZfdnJCIJ9DeMAkjSLTbf1sLW1yoOVe3VnhgM+FCvTI6CSm nFjZ9mENGTSMEiLbH0Cq+nDmjGXz8Y4I2R6+QfwiIdNxOTUeg8goMV4benzv7sdGUIHS eVOaVNnUPExFkkiSC+2uodsjbsueE+aQX71OAsPlpLkDorv3MUmislSa1sJQwk/foqHu 50GsgR2TgF/wgt+BaOmLtGyNdNYcejThXHz3xt6haZBLvQp4wDc1Qb8YrocB64ehUxcF y/I16ZsFzBdl2xFmqc1d/YWhovokFAuIPVltwzuTV7v3vdrK5efGl7Bp8ZRRLc+eXgvI thVA== X-Gm-Message-State: AOUpUlFkG5akcAZGXLriLu5HpwjkODUUoVkqy8Dr+cIlRwca3c5hlfNI 0KN1ZAKejNanXD2zMZTl1Y/2e0Ot X-Google-Smtp-Source: AA+uWPyb3forb/sJ46JGq7YYyfSG+J5wcGZ/m7lBnDRVw+7Q11lgiABXtZ69jwuAfzuEYHbWYJkOdA== X-Received: by 2002:a62:1e81:: with SMTP id e123-v6mr7810624pfe.24.1533917733444; Fri, 10 Aug 2018 09:15:33 -0700 (PDT) Received: from localhost.localdomain ([2600:1012:b011:a55d:750d:4ad1:410a:5fdd]) by smtp.gmail.com with ESMTPSA id e82-v6sm17672306pfk.87.2018.08.10.09.15.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Aug 2018 09:15:32 -0700 (PDT) From: Christopher McCrory To: buildroot@buildroot.org Date: Fri, 10 Aug 2018 09:15:00 -0700 Message-Id: <20180810161502.21598-17-chrismcc@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180810161502.21598-1-chrismcc@gmail.com> References: <20180810161502.21598-1-chrismcc@gmail.com> Subject: [Buildroot] [PATCH 16/18] perl-sys-meminfo: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christopher McCrory MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Christopher McCrory Acked-by: Francois Perrad --- package/Config.in | 1 + package/perl-sys-meminfo/Config.in | 10 ++++++++++ package/perl-sys-meminfo/perl-sys-meminfo.hash | 6 ++++++ package/perl-sys-meminfo/perl-sys-meminfo.mk | 12 ++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 package/perl-sys-meminfo/Config.in create mode 100644 package/perl-sys-meminfo/perl-sys-meminfo.hash create mode 100644 package/perl-sys-meminfo/perl-sys-meminfo.mk diff --git a/package/Config.in b/package/Config.in index 4f6d6dede6..dd3da6ebe6 100644 --- a/package/Config.in +++ b/package/Config.in @@ -723,6 +723,7 @@ menu "Perl libraries/modules" source "package/perl-params-util/Config.in" source "package/perl-path-tiny/Config.in" source "package/perl-sub-install/Config.in" + source "package/perl-sys-meminfo/Config.in" source "package/perl-time-hires/Config.in" source "package/perl-timedate/Config.in" source "package/perl-try-tiny/Config.in" diff --git a/package/perl-sys-meminfo/Config.in b/package/perl-sys-meminfo/Config.in new file mode 100644 index 0000000000..3e3155d6cb --- /dev/null +++ b/package/perl-sys-meminfo/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PERL_SYS_MEMINFO + bool "perl-sys-meminfo" + depends on !BR2_STATIC_LIBS + help + query the total free and used physical memory + + https://metacpan.org/release/Sys-MemInfo + +comment "perl-sys-meminfo needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/package/perl-sys-meminfo/perl-sys-meminfo.hash b/package/perl-sys-meminfo/perl-sys-meminfo.hash new file mode 100644 index 0000000000..207cfad2bf --- /dev/null +++ b/package/perl-sys-meminfo/perl-sys-meminfo.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 88f0632691d7de91cbed95ba1ff29025 Sys-MemInfo-0.99.tar.gz +sha256 0786319d3a3a8bae5d727939244bf17e140b714f52734d5e9f627203e4cf3e3b Sys-MemInfo-0.99.tar.gz + +# computed by scancpan +sha256 62854ade112a6782f476bdc7dc9603776c4e064782623d999f966dba131a15de LICENSE diff --git a/package/perl-sys-meminfo/perl-sys-meminfo.mk b/package/perl-sys-meminfo/perl-sys-meminfo.mk new file mode 100644 index 0000000000..ed35f411be --- /dev/null +++ b/package/perl-sys-meminfo/perl-sys-meminfo.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# perl-sys-meminfo +# +################################################################################ + +PERL_SYS_MEMINFO_VERSION = 0.99 +PERL_SYS_MEMINFO_SOURCE = Sys-MemInfo-$(PERL_SYS_MEMINFO_VERSION).tar.gz +PERL_SYS_MEMINFO_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SC/SCRESTO +PERL_SYS_MEMINFO_LICENSE_FILES = LICENSE + +$(eval $(perl-package))