mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/gperftools to 2.5-1
This commit is contained in:
parent
48dbe157e5
commit
0ed8f72203
1 changed files with 11 additions and 8 deletions
|
@ -11,11 +11,11 @@
|
|||
# - depend on libunwind for AArch64
|
||||
|
||||
pkgname=gperftools
|
||||
pkgver=2.4
|
||||
pkgrel=2
|
||||
pkgver=2.5
|
||||
pkgrel=1
|
||||
pkgdesc="Fast, multi-threaded malloc and nifty performance analysis tools"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://code.google.com/p/gperftools/"
|
||||
url="https://github.com/gperftools/gperftools"
|
||||
license=('BSD')
|
||||
depends=('perl')
|
||||
depends_aarch64=('libunwind')
|
||||
|
@ -25,28 +25,31 @@ provides=('libtcmalloc.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=("https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/$pkgname-$pkgver.tar.gz"
|
||||
source=("git+https://github.com/gperftools/gperftools#tag=$pkgname-$pkgver"
|
||||
"armv6.patch")
|
||||
md5sums=('2171cea3bbe053036fb5d5d25176a160'
|
||||
md5sums=('SKIP'
|
||||
'68606edc5920e10930647b8f276fbe88')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "$pkgname"
|
||||
|
||||
./autogen.sh
|
||||
patch -p1 -i ../armv6.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
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