blob: 0b024ad61dcfccf98eb261d134c4d57bf720da28 [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
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050022UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/perfmon2/files/libpfm4/"
23
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\""
25EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\""
26EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\""
27
28S = "${WORKDIR}/libpfm-${PV}"
29
30do_install () {
31 oe_runmake install
32}