mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/gperftools to 2.2-1
This commit is contained in:
parent
9b0681c410
commit
9c921d7a15
1 changed files with 20 additions and 7 deletions
|
@ -10,31 +10,44 @@
|
|||
# - hack to skip using v7 assembly on v6
|
||||
|
||||
pkgname=gperftools
|
||||
pkgver=2.1
|
||||
pkgrel=2
|
||||
pkgver=2.2
|
||||
pkgrel=1
|
||||
pkgdesc="Fast, multi-threaded malloc() and nifty performance analysis tools"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://code.google.com/p/gperftools/"
|
||||
license=('BSD')
|
||||
depends=('perl')
|
||||
provides=('libtcmalloc.so'
|
||||
'libprofiler.so'
|
||||
'libtcmalloc_debug.so'
|
||||
'libtcmalloc_and_profiler.so'
|
||||
'libtcmalloc_minimal.so'
|
||||
'libtcmalloc_minimal_debug.so')
|
||||
makedepends=('git')
|
||||
optdepends=('graphviz: pprof graph generation'
|
||||
'gv: pprof postscript generation')
|
||||
options=('!libtool')
|
||||
source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz"
|
||||
source=("git+https://code.google.com/p/gperftools#tag=gperftools-$pkgver"
|
||||
"armv6.patch")
|
||||
sha256sums=('f3ade29924f89409d8279ab39e00af7420593baa4941c318db42e70ead7e494f'
|
||||
sha256sums=('SKIP'
|
||||
'879a6e92947a5538885b9e63c2675a93d57870f58c2d61260fec91ce56823df8')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
prepare() {
|
||||
cd "$pkgname"
|
||||
|
||||
patch -p1 -i ../armv6.patch
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
|
||||
./configure --prefix=/usr --enable-frame-pointers
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "$pkgname"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
|
|
Loading…
Reference in a new issue