blob: d1083c600ccf01b54c846b8005fa3c288d3e8945 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=oprofile
pkgver=1.4.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() {
CXXFLAGS="$CXXFLAGS" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="44c0ae55d20d623ea8b4245bfe3e208813dbb8778d7e320378ffe70538ef6af1a6ddaf5d110e29751c216879543f13121dd71cb320023205622b3f0cd6b157df oprofile-1.4.0.tar.gz
9ad0e25f2ab165e6613d8fbd65b652fb82b41beef28f9edca6b763001d50fb5f35e433454a7beeecaa1d0d3adc9c9f16adc6d4d9f20ae9d27cc3120c04906576 disable-regex-test.patch
831fd9b18df0daaa01682c50479f432e81da951550db6d0b11315232b728517493533b41b46fd64f3e74405b8d515fb86d7b4b96898cf45b262a7e790a131740 posixise.patch"
|