blob: b4730f3c4616e56ce3a106b815b3b824e1c18016 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=oprofile
pkgver=1.3.0
pkgrel=0
pkgdesc="System profiler for Linux"
url="http://oprofile.sourceforge.net/news/"
arch="all"
license="GPL-2.0-only"
depends=""
makedepends="binutils-dev libpfm-dev popt-dev"
subpackages="$pkgname-doc"
source="https://prdownloads.sourceforge.net/oprofile/oprofile-$pkgver.tar.gz
disable-regex-test.patch
posixise.patch
"
build() {
cd "$builddir"
CXXFLAGS="$CXXFLAGS" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="02a940cd8d38834dca2a97c8ac0fff04ef95b3819cfdf74a462b9326c7abbf2dc55d2a9b9d1fbefc7f455465bf85516be2b879d7daf1861ba2c4af51214377ba oprofile-1.3.0.tar.gz
9ad0e25f2ab165e6613d8fbd65b652fb82b41beef28f9edca6b763001d50fb5f35e433454a7beeecaa1d0d3adc9c9f16adc6d4d9f20ae9d27cc3120c04906576 disable-regex-test.patch
b19229521e28c871e432b15aab386c99c17f0ce3f9ab22b8669d64a8e0a22dd80ba7647ad903e9b71233815a457a3fa57aec9fb123cf7b28b04e61bc1ea250aa posixise.patch"
|