summaryrefslogtreecommitdiff
path: root/user/libpfm/APKBUILD
blob: 063b041d429eb5c4387a61b14911240a786ee5f7 (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.13.0
pkgrel=0
pkgdesc="Performance monitoring library"
url="https://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="e61b210aa2ce80f0e47603c88eee2e4f2fe30ca2c0e194a5472b6a8de3bf9dc1085e5261bbb9ddbe5b6531c4b391fb34f20d038e5ebd8e6f4c14c2112aee508f  libpfm-4.13.0.tar.gz"