summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-10 20:39:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-10 20:39:39 +0000
commit40fdceefc8083654320b2b1411bcad009e27bc71 (patch)
treec7b53e4468e7421dbd8aa13ea8a6bd7f100348f4
parent57e591ed526131bd4cff1545cb176afbb5357605 (diff)
downloadpackages-40fdceefc8083654320b2b1411bcad009e27bc71.tar.gz
packages-40fdceefc8083654320b2b1411bcad009e27bc71.tar.bz2
packages-40fdceefc8083654320b2b1411bcad009e27bc71.tar.xz
packages-40fdceefc8083654320b2b1411bcad009e27bc71.zip
user/libpfm: new package
-rw-r--r--user/libpfm/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/user/libpfm/APKBUILD b/user/libpfm/APKBUILD
new file mode 100644
index 000000000..c30624312
--- /dev/null
+++ b/user/libpfm/APKBUILD
@@ -0,0 +1,26 @@
+# 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"