blob: 2dfda90b91dd35c3743823309ba0f71b30af58bd [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Monitoring tools exploiting the performance monitoring events"
2DESCRIPTION = "This package provides a library, called libpfm4 which is used to develop \
3monitoring tools exploiting the performance monitoring events such as those \
4provided by the Performance Monitoring Unit (PMU) of modern processors."
5HOMEPAGE = "http://perfmon2.sourceforge.net/"
6BUGTRACKER = "http://sourceforge.net/tracker/?group_id=144822&atid=759953&source=navbar"
7
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://COPYING;md5=0de488f3bd4424e308e2e399cb99c788"
10
11SECTION = "devel"
12
13COMPATIBLE_HOST = "powerpc64"
14
15SRC_URI = "http://downloads.sourceforge.net/project/perfmon2/${BPN}/libpfm-${PV}.tar.gz \
16 file://0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch \
17 "
18
19SRC_URI[md5sum] = "5077b9022440e4951d96f2d0e73bd487"
20SRC_URI[sha256sum] = "5ab1e5b0472550f9037a8800834f6bc3b927690070f69fac0b67284b4b05fd5f"
21
22EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\""
23EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\""
24EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\""
25
26S = "${WORKDIR}/libpfm-${PV}"
27
28do_install () {
29 oe_runmake install
30}