blob: a1bb4a399ebc1b32ca7479d6b26ccf59795da4fc [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001SUMMARY = "Perl interface to the libstatgrab library"
2DESCRIPTION = "Unix::Statgrab is a wrapper for libstatgrab as available from \
3<http://www.i-scream.org/libstatgrab/>. It is a reasonably portable attempt \
4to query interesting stats about your computer. It covers information on \
5the operating system, CPU, memory usage, network interfaces, hard-disks \
6etc."
7
8HOMEPAGE = "https://metacpan.org/release/Unix-Statgrab"
9SECTION = "libs"
10LICENSE = "Artistic-1.0 | GPL-1.0+ | LGPL-2.1+"
11DEPENDS += "libcapture-tiny-perl-native"
12DEPENDS += "libconfig-autoconf-perl-native"
13DEPENDS += "libstatgrab"
14RDEPENDS_${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
25SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Unix-Statgrab-${PV}.tar.gz"
26LIC_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
31SRC_URI[md5sum] = "a6bc06b3f7749f7d77a2b1bd13402821"
32SRC_URI[sha256sum] = "16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea61d6afa"
33
34S = "${WORKDIR}/Unix-Statgrab-${PV}"
35
36inherit cpan pkgconfig ptest-perl
37
38BBCLASSEXTEND = "native"