All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-perl][PATCH] libunix-statgrab: add recipe
@ 2020-01-02 13:39 Jens Rehsack
  2020-01-02 18:30 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Rehsack @ 2020-01-02 13:39 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Jens Rehsack

Add recipe for Unix::Statgrab perl module, a sane language binding for
libstatgrab.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
---
 .../libstatgrab/libunix-statgrab_0.112.bb     | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb

diff --git a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
new file mode 100644
index 000000000..7402eb879
--- /dev/null
+++ b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Perl interface to the libstatgrab library"
+DESCRIPTION = "Unix::Statgrab is a wrapper for libstatgrab as available from \
+<http://www.i-scream.org/libstatgrab/>. It is a reasonably portable attempt \
+to query interesting stats about your computer. It covers information on \
+the operating system, CPU, memory usage, network interfaces, hard-disks \
+etc."
+
+HOMEPAGE = "https://metacpan.org/release/Unix-Statgrab"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+ | LGPL-2.1+"
+DEPENDS += "libcapture-tiny-perl-native"
+DEPENDS += "libconfig-autoconf-perl-native"
+DEPENDS += "libstatgrab"
+RDEPENDS_${PN} += "\
+    libstatgrab \
+    perl-module-autoloader \
+    perl-module-carp \
+    perl-module-dynaloader \
+    perl-module-exporter \
+    perl-module-strict \
+    perl-module-vars \
+    perl-module-warnings \
+"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Unix-Statgrab-${PV}.tar.gz"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+    file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d \
+    file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \
+"
+
+SRC_URI[md5sum] = "a6bc06b3f7749f7d77a2b1bd13402821"
+SRC_URI[sha256sum] = "16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea61d6afa"
+
+S = "${WORKDIR}/Unix-Statgrab-${PV}"
+
+inherit cpan ptest-perl
+
+BBCLASSEXTEND = "native"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-perl][PATCH] libunix-statgrab: add recipe
  2020-01-02 13:39 [meta-perl][PATCH] libunix-statgrab: add recipe Jens Rehsack
@ 2020-01-02 18:30 ` Khem Raj
  2020-01-02 21:27   ` Jens Rehsack
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2020-01-02 18:30 UTC (permalink / raw)
  To: Jens Rehsack; +Cc: openembeded-devel

This seems to fail
https://errors.yoctoproject.org/Errors/Details/301385/
https://errors.yoctoproject.org/Errors/Details/301387/

On Thu, Jan 2, 2020 at 5:39 AM Jens Rehsack <sno@netbsd.org> wrote:
>
> Add recipe for Unix::Statgrab perl module, a sane language binding for
> libstatgrab.
>
> Signed-off-by: Jens Rehsack <sno@netbsd.org>
> ---
>  .../libstatgrab/libunix-statgrab_0.112.bb     | 38 +++++++++++++++++++
>  1 file changed, 38 insertions(+)
>  create mode 100644 meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
>
> diff --git a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
> new file mode 100644
> index 000000000..7402eb879
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
> @@ -0,0 +1,38 @@
> +SUMMARY = "Perl interface to the libstatgrab library"
> +DESCRIPTION = "Unix::Statgrab is a wrapper for libstatgrab as available from \
> +<http://www.i-scream.org/libstatgrab/>. It is a reasonably portable attempt \
> +to query interesting stats about your computer. It covers information on \
> +the operating system, CPU, memory usage, network interfaces, hard-disks \
> +etc."
> +
> +HOMEPAGE = "https://metacpan.org/release/Unix-Statgrab"
> +SECTION = "libs"
> +LICENSE = "Artistic-1.0 | GPL-1.0+ | LGPL-2.1+"
> +DEPENDS += "libcapture-tiny-perl-native"
> +DEPENDS += "libconfig-autoconf-perl-native"
> +DEPENDS += "libstatgrab"
> +RDEPENDS_${PN} += "\
> +    libstatgrab \
> +    perl-module-autoloader \
> +    perl-module-carp \
> +    perl-module-dynaloader \
> +    perl-module-exporter \
> +    perl-module-strict \
> +    perl-module-vars \
> +    perl-module-warnings \
> +"
> +
> +SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Unix-Statgrab-${PV}.tar.gz"
> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
> +    file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d \
> +    file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \
> +"
> +
> +SRC_URI[md5sum] = "a6bc06b3f7749f7d77a2b1bd13402821"
> +SRC_URI[sha256sum] = "16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea61d6afa"
> +
> +S = "${WORKDIR}/Unix-Statgrab-${PV}"
> +
> +inherit cpan ptest-perl
> +
> +BBCLASSEXTEND = "native"
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-perl][PATCH] libunix-statgrab: add recipe
  2020-01-02 18:30 ` Khem Raj
@ 2020-01-02 21:27   ` Jens Rehsack
  0 siblings, 0 replies; 3+ messages in thread
From: Jens Rehsack @ 2020-01-02 21:27 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

[-- Attachment #1: Type: text/plain, Size: 3047 bytes --]



> Am 02.01.2020 um 19:30 schrieb Khem Raj <raj.khem@gmail.com>:
> 
> This seems to fail
> https://errors.yoctoproject.org/Errors/Details/301385/
> https://errors.yoctoproject.org/Errors/Details/301387/

Weird. pkg_config_prog should be provided by

DEPENDS += "libconfig-autoconf-perl-native"

Can you find the "config.log" of one of those builds?
Maybe pkg-config itself is missing and I have to add this dependency somehow ...

> On Thu, Jan 2, 2020 at 5:39 AM Jens Rehsack <sno@netbsd.org> wrote:
>> 
>> Add recipe for Unix::Statgrab perl module, a sane language binding for
>> libstatgrab.
>> 
>> Signed-off-by: Jens Rehsack <sno@netbsd.org>
>> ---
>> .../libstatgrab/libunix-statgrab_0.112.bb     | 38 +++++++++++++++++++
>> 1 file changed, 38 insertions(+)
>> create mode 100644 meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
>> 
>> diff --git a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
>> new file mode 100644
>> index 000000000..7402eb879
>> --- /dev/null
>> +++ b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb
>> @@ -0,0 +1,38 @@
>> +SUMMARY = "Perl interface to the libstatgrab library"
>> +DESCRIPTION = "Unix::Statgrab is a wrapper for libstatgrab as available from \
>> +<http://www.i-scream.org/libstatgrab/>. It is a reasonably portable attempt \
>> +to query interesting stats about your computer. It covers information on \
>> +the operating system, CPU, memory usage, network interfaces, hard-disks \
>> +etc."
>> +
>> +HOMEPAGE = "https://metacpan.org/release/Unix-Statgrab"
>> +SECTION = "libs"
>> +LICENSE = "Artistic-1.0 | GPL-1.0+ | LGPL-2.1+"
>> +DEPENDS += "libcapture-tiny-perl-native"
>> +DEPENDS += "libconfig-autoconf-perl-native"
>> +DEPENDS += "libstatgrab"
>> +RDEPENDS_${PN} += "\
>> +    libstatgrab \
>> +    perl-module-autoloader \
>> +    perl-module-carp \
>> +    perl-module-dynaloader \
>> +    perl-module-exporter \
>> +    perl-module-strict \
>> +    perl-module-vars \
>> +    perl-module-warnings \
>> +"
>> +
>> +SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Unix-Statgrab-${PV}.tar.gz"
>> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
>> +    file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d \
>> +    file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \
>> +"
>> +
>> +SRC_URI[md5sum] = "a6bc06b3f7749f7d77a2b1bd13402821"
>> +SRC_URI[sha256sum] = "16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea61d6afa"
>> +
>> +S = "${WORKDIR}/Unix-Statgrab-${PV}"
>> +
>> +inherit cpan ptest-perl
>> +
>> +BBCLASSEXTEND = "native"
>> --
>> 2.17.1
>> 
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Jens Rehsack - rehsack@gmail.com


[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-02 21:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-02 13:39 [meta-perl][PATCH] libunix-statgrab: add recipe Jens Rehsack
2020-01-02 18:30 ` Khem Raj
2020-01-02 21:27   ` Jens Rehsack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.