diff options
author | Jens Rehsack <sno@netbsd.org> | 2020-01-06 14:40:23 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-06 19:22:25 -0800 |
commit | 5870cea2b199cc26b79ae1c29b424d9f906afb41 (patch) | |
tree | 4ca1a40cff48990cc9ce9fab84c347604aac1ef0 /meta-perl | |
parent | 02525e8e0b3a199045ba149775fdd7b7c9752585 (diff) | |
download | meta-openembedded-5870cea2b199cc26b79ae1c29b424d9f906afb41.tar.gz |
libunix-statgrab: add recipe
Add recipe for Unix::Statgrab perl module, a sane language binding for
libstatgrab.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-perl')
-rw-r--r-- | meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb | 38 |
1 files changed, 38 insertions, 0 deletions
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..a1bb4a399 --- /dev/null +++ b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "Perl interface to the libstatgrab library" | ||
2 | DESCRIPTION = "Unix::Statgrab is a wrapper for libstatgrab as available from \ | ||
3 | <http://www.i-scream.org/libstatgrab/>. It is a reasonably portable attempt \ | ||
4 | to query interesting stats about your computer. It covers information on \ | ||
5 | the operating system, CPU, memory usage, network interfaces, hard-disks \ | ||
6 | etc." | ||
7 | |||
8 | HOMEPAGE = "https://metacpan.org/release/Unix-Statgrab" | ||
9 | SECTION = "libs" | ||
10 | LICENSE = "Artistic-1.0 | GPL-1.0+ | LGPL-2.1+" | ||
11 | DEPENDS += "libcapture-tiny-perl-native" | ||
12 | DEPENDS += "libconfig-autoconf-perl-native" | ||
13 | DEPENDS += "libstatgrab" | ||
14 | RDEPENDS_${PN} += "\ | ||
15 | libstatgrab \ | ||
16 | perl-module-autoloader \ | ||
17 | perl-module-carp \ | ||
18 | perl-module-dynaloader \ | ||
19 | perl-module-exporter \ | ||
20 | perl-module-strict \ | ||
21 | perl-module-vars \ | ||
22 | perl-module-warnings \ | ||
23 | " | ||
24 | |||
25 | SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Unix-Statgrab-${PV}.tar.gz" | ||
26 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ | ||
27 | file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d \ | ||
28 | file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \ | ||
29 | " | ||
30 | |||
31 | SRC_URI[md5sum] = "a6bc06b3f7749f7d77a2b1bd13402821" | ||
32 | SRC_URI[sha256sum] = "16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea61d6afa" | ||
33 | |||
34 | S = "${WORKDIR}/Unix-Statgrab-${PV}" | ||
35 | |||
36 | inherit cpan pkgconfig ptest-perl | ||
37 | |||
38 | BBCLASSEXTEND = "native" | ||