1*4882a593SmuzhiyunDESCRIPTION = "Utilities to collect and visualise system statistics"
2*4882a593SmuzhiyunHOMEPAGE = "http://www.i-scream.org/libstatgrab/"
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunLICENSE = "GPL-2.0-or-later"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunDEPENDS = "ncurses"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunPACKAGES:prepend = "statgrab statgrab-dbg saidar saidar-dbg ${PN}-mrtg "
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun# don't use the git tag unless docbooc2x is available to build the manpages
12*4882a593SmuzhiyunSRC_URI = "https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATGRAB_0_92_1/libstatgrab-${PV}.tar.gz \
13*4882a593Smuzhiyun          "
14*4882a593SmuzhiyunSRC_URI[sha256sum] = "5688aa4a685547d7174a8a373ea9d8ee927e766e3cc302bdee34523c2c5d6c11"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun# Perl5 is for tests only
19*4882a593SmuzhiyunEXTRA_OECONF = "--without-perl5 --with-mnttab=/proc/mounts"
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun# use with caution - default properties are configured to trace
22*4882a593SmuzhiyunPACKAGECONFIG ??= ""
23*4882a593SmuzhiyunPACKAGECONFIG[log4cplus] = "--with-log4cplus,--without-log4cplus,log4cplus"
24*4882a593SmuzhiyunPACKAGECONFIG[logging] = "--enable-logging,--disable-logging,"
25*4882a593Smuzhiyun
26*4882a593Smuzhiyuninherit autotools pkgconfig
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunFILES:statgrab = "${bindir}/statgrab"
29*4882a593SmuzhiyunFILES:statgrab-dbg = "${bindir}/.debug/statgrab"
30*4882a593SmuzhiyunFILES:saidar = "${bindir}/saidar"
31*4882a593SmuzhiyunFILES:saidar-dbg = "${bindir}/.debug/saidar"
32*4882a593SmuzhiyunFILES:${PN}-mrtg = "${bindir}/statgrab-make-mrtg-config ${bindir}/statgrab-make-mrtg-index"
33*4882a593SmuzhiyunRDEPENDS:${PN}-mrtg:append = " perl statgrab"
34