summaryrefslogtreecommitdiff
path: root/user/libpfm/APKBUILD
blob: d2c5013632b078d5f9d0de53ac9247b4f89784ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libpfm
pkgver=4.11.0
pkgrel=0
pkgdesc="Performance monitoring library"
url="http://perfmon2.sourceforge.net/"
arch="all"
options="!check"  # No test suite.
license="MIT"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/perfmon2/libpfm4/libpfm-$pkgver.tar.gz"

build() {
	CFLAGS="$CFLAGS -Wno-error=cpp" make
}

package() {
	make PREFIX="/usr" DESTDIR="$pkgdir" install
}

sha512sums="633035b8a7b35973437572095cdc80d422b2a1a61e74e14f106db95fa8e44e4518e591699cc457f828b8f2fb63f60eef6d0c7535c6b4c9a6c3a70d4550b3c3c7  libpfm-4.11.0.tar.gz"