Brad Bishop | 0a92126 | 2019-09-24 07:40:45 -0400 | [diff] [blame] | 1 | DESCRIPTION = "Utilities to collect and visualise system statistics" |
| 2 | HOMEPAGE = "http://www.i-scream.org/libstatgrab/" |
| 3 | |
| 4 | LICENSE = "GPL-2.0+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 6 | |
| 7 | DEPENDS = "ncurses" |
| 8 | |
| 9 | PACKAGES_prepend = "statgrab statgrab-dbg saidar saidar-dbg ${PN}-mrtg " |
| 10 | |
| 11 | # don't use the git tag unless docbooc2x is available to build the manpages |
| 12 | SRC_URI = "https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATGRAB_0_92/libstatgrab-0.92.tar.gz \ |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 13 | file://0001-configure.ac-Do-not-use-single-line-comment.patch \ |
Brad Bishop | 0a92126 | 2019-09-24 07:40:45 -0400 | [diff] [blame] | 14 | " |
| 15 | SRC_URI[md5sum] = "5362b2ddbec54b3901e7d70c22cda249" |
| 16 | SRC_URI[sha256sum] = "5bf1906aff9ffc3eeacf32567270f4d819055d8386d98b9c8c05519012d5a196" |
| 17 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 18 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" |
| 19 | |
Brad Bishop | 0a92126 | 2019-09-24 07:40:45 -0400 | [diff] [blame] | 20 | # Perl5 is for tests only |
| 21 | EXTRA_OECONF = "--without-perl5 --with-mnttab=/proc/mounts" |
| 22 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 23 | # use with caution - default properties are configured to trace |
| 24 | PACKAGECONFIG ??= "" |
| 25 | PACKAGECONFIG[log4cplus] = "--with-log4cplus,--without-log4cplus,log4cplus" |
| 26 | PACKAGECONFIG[logging] = "--enable-logging,--disable-logging," |
| 27 | |
Brad Bishop | 0a92126 | 2019-09-24 07:40:45 -0400 | [diff] [blame] | 28 | inherit autotools pkgconfig |
| 29 | |
| 30 | FILES_statgrab = "${bindir}/statgrab" |
| 31 | FILES_statgrab-dbg = "${bindir}/.debug/statgrab" |
| 32 | FILES_saidar = "${bindir}/saidar" |
| 33 | FILES_saidar-dbg = "${bindir}/.debug/saidar" |
| 34 | FILES_${PN}-mrtg = "${bindir}/statgrab-make-mrtg-config ${bindir}/statgrab-make-mrtg-index" |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 35 | RDEPENDS_${PN}-mrtg_append = " perl statgrab" |