summaryrefslogblamecommitdiff
path: root/user/libpfm/APKBUILD
blob: c3062431278ef2e6c85f3b848f3bc0d65d8918b3 (plain) (tree)

























                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libpfm
pkgver=4.10.1
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() {
	cd "$builddir"
	CFLAGS="$CFLAGS -Wno-error=cpp" make
}

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

sha512sums="33d99824216b4d83784e0db9f1aae3b39f84c2ba42dee64dde0b3c43cc5ee3a18c206d9044e75bf10867768add7cb9967c6318f7aa196f178f334271fa05e1aa  libpfm-4.10.1.tar.gz"