summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-oe/recipes-support/pcp/pcp.inc
blob: 708ebfe7ab1b30cda0839c18b2731807a3038e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUMMARY = "System-level performance monitoring and performance management"
HOMEPAGE = "http://www.pcp.io"
SECTION =  "Applications/System"

LICENSE = "GPL-2.0-or-later & LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=37ab75b580d5aad4ada04260efa3702f \
                    "
COMPATIBLE_HOST:libc-musl = "null"

SRC_URI = "https://performancecopilot.jfrog.io/artifactory/pcp-source-release/${BP}.src.tar.gz \
           file://0001-configure-Limit-the-header-search-to-sysroot.patch \
           file://config.linux \
	   "
SRC_URI[sha256sum] = "6ef33b7aa14c09860ba7cd8873e76d38ccd24eab0c94a50e235f813e77fe3610"

inherit setuptools3-base pkgconfig autotools-brokensep

# Specify any options you want to pass to the configure script using EXTRA_OECONF:
CACHED_CONFIGUREVARS = "PACKAGE_DISTRIBUTION=arch"
EXTRA_OECONF:append = " --with-dstat-symlink=yes --with-infiniband=no \
                --with-pmdapodman=no --with-python=no --with-python3=yes --with-perl=no \
		--with-pmdabcc=no --with-pmdajson=no  --with-perfevent=no \
		--with-pmdabcc=yes \
		--with-rundir=${localstatedir}/run \
                --with-sysconfigdir=${sysconfdir} \
                --with-logdir=${localstatedir}/log \
                --with-docdir=${docdir} \
                "

PACKAGECONFIG[qt5] = "--with-qt=yes --with-qt3d=yes,--with-qt=no --with-qt3d=no,qtbase qt3d"

PACKAGECONFIG ?= ""