mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/gperftools to 2.8.1-1
This commit is contained in:
parent
ffb1f17c5a
commit
13fda1cabb
1 changed files with 7 additions and 12 deletions
|
@ -10,7 +10,7 @@
|
||||||
# - depend on libunwind for AArch64
|
# - depend on libunwind for AArch64
|
||||||
|
|
||||||
pkgname=gperftools
|
pkgname=gperftools
|
||||||
pkgver=2.8
|
pkgver=2.8.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Fast, multi-threaded malloc and nifty performance analysis tools"
|
pkgdesc="Fast, multi-threaded malloc and nifty performance analysis tools"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -24,34 +24,29 @@ provides=('libtcmalloc.so'
|
||||||
'libtcmalloc_and_profiler.so'
|
'libtcmalloc_and_profiler.so'
|
||||||
'libtcmalloc_minimal.so'
|
'libtcmalloc_minimal.so'
|
||||||
'libtcmalloc_minimal_debug.so')
|
'libtcmalloc_minimal_debug.so')
|
||||||
makedepends=('git')
|
|
||||||
optdepends=('graphviz: pprof graph generation'
|
optdepends=('graphviz: pprof graph generation'
|
||||||
'gv: pprof postscript generation')
|
'gv: pprof postscript generation')
|
||||||
options=('!libtool')
|
source=(https://github.com/gperftools/gperftools/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz
|
||||||
source=("git+https://github.com/gperftools/gperftools#tag=$pkgname-$pkgver"
|
|
||||||
"armv6.patch")
|
"armv6.patch")
|
||||||
md5sums=('SKIP'
|
sha256sums=('12f07a8ba447f12a3ae15e6e3a6ad74de35163b787c0c7b76288d7395f2f74e0'
|
||||||
'a9044b9908c9d04995e6b1c3f191125d')
|
'5a6b7c43ef4c916df930a6a59bef3285d19faffcdb6107a29a96552e53d243ee')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$pkgname"
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
./autogen.sh
|
|
||||||
patch -p1 -i ../armv6.patch
|
patch -p1 -i ../armv6.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname"
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
./configure --prefix=/usr --enable-frame-pointers
|
./configure --prefix=/usr --enable-frame-pointers
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname"
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
|
||||||
|
|
Loading…
Reference in a new issue