blob: 3f15a259bf40da7fbbd8e57313f5108537a2995d [file] [log] [blame]
Brad Bishop0a921262019-09-24 07:40:45 -04001DESCRIPTION = "Utilities to collect and visualise system statistics"
2HOMEPAGE = "http://www.i-scream.org/libstatgrab/"
3
4LICENSE = "GPL-2.0+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6
7DEPENDS = "ncurses"
8
Patrick Williams213cb262021-08-07 19:21:33 -05009PACKAGES:prepend = "statgrab statgrab-dbg saidar saidar-dbg ${PN}-mrtg "
Brad Bishop0a921262019-09-24 07:40:45 -040010
11# don't use the git tag unless docbooc2x is available to build the manpages
12SRC_URI = "https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATGRAB_0_92/libstatgrab-0.92.tar.gz \
Andrew Geisslerac970dd2021-02-12 15:32:45 -060013 file://0001-configure.ac-Do-not-use-single-line-comment.patch \
Brad Bishop0a921262019-09-24 07:40:45 -040014 "
15SRC_URI[md5sum] = "5362b2ddbec54b3901e7d70c22cda249"
16SRC_URI[sha256sum] = "5bf1906aff9ffc3eeacf32567270f4d819055d8386d98b9c8c05519012d5a196"
17
Andrew Geissler82c905d2020-04-13 13:39:40 -050018UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
19
Brad Bishop0a921262019-09-24 07:40:45 -040020# Perl5 is for tests only
21EXTRA_OECONF = "--without-perl5 --with-mnttab=/proc/mounts"
22
Brad Bishope42b3e32020-01-15 22:08:42 -050023# use with caution - default properties are configured to trace
24PACKAGECONFIG ??= ""
25PACKAGECONFIG[log4cplus] = "--with-log4cplus,--without-log4cplus,log4cplus"
26PACKAGECONFIG[logging] = "--enable-logging,--disable-logging,"
27
Brad Bishop0a921262019-09-24 07:40:45 -040028inherit autotools pkgconfig
29
Patrick Williams213cb262021-08-07 19:21:33 -050030FILES:statgrab = "${bindir}/statgrab"
31FILES:statgrab-dbg = "${bindir}/.debug/statgrab"
32FILES:saidar = "${bindir}/saidar"
33FILES:saidar-dbg = "${bindir}/.debug/saidar"
34FILES:${PN}-mrtg = "${bindir}/statgrab-make-mrtg-config ${bindir}/statgrab-make-mrtg-index"
35RDEPENDS:${PN}-mrtg:append = " perl statgrab"