New package: gperftools-2.1
This commit is contained in:
parent
b74799619c
commit
2015813233
3 changed files with 37 additions and 0 deletions
1
srcpkgs/gperftools-devel
Symbolic link
1
srcpkgs/gperftools-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
gperftools
|
12
srcpkgs/gperftools/patches/armv6.patch
Normal file
12
srcpkgs/gperftools/patches/armv6.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -urN src/base/atomicops.h src/base/atomicops.h
|
||||
--- src/base/atomicops.h 2013-07-30 03:12:11.000000000 -0600
|
||||
+++ src/base/atomicops.h 2013-08-22 16:40:55.204885730 -0600
|
||||
@@ -101,7 +101,7 @@
|
||||
// TODO(csilvers): match piii, not just __i386. Also, match k8
|
||||
#if defined(__MACH__) && defined(__APPLE__)
|
||||
#include "base/atomicops-internals-macosx.h"
|
||||
-#elif defined(__GNUC__) && defined(ARMV6)
|
||||
+#elif defined(__GNUC__) && defined(ARMV7)
|
||||
#include "base/atomicops-internals-arm-v6plus.h"
|
||||
#elif defined(ARMV3)
|
||||
#include "base/atomicops-internals-arm-generic.h"
|
24
srcpkgs/gperftools/template
Normal file
24
srcpkgs/gperftools/template
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Template build file for 'gperftools'
|
||||
pkgname=gperftools
|
||||
version=2.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
short_desc="multi-threaded malloc() and performance analysis tools"
|
||||
maintainer="Enno Boland <eb@s01.de>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="http://gperftools.googlecode.com"
|
||||
distfiles="${homepage}/files/gperftools-${version}.tar.gz"
|
||||
checksum=f3ade29924f89409d8279ab39e00af7420593baa4941c318db42e70ead7e494f
|
||||
makedepends="libunwind-devel"
|
||||
|
||||
gperftools-devel_package() {
|
||||
depends="gperftools>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue