mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
extra/gperftools to 2.2.1-1
This commit is contained in:
parent
8353fe5f15
commit
0a7caf93fa
1 changed files with 7 additions and 9 deletions
|
@ -10,7 +10,7 @@
|
||||||
# - hack to skip using v7 assembly on v6
|
# - hack to skip using v7 assembly on v6
|
||||||
|
|
||||||
pkgname=gperftools
|
pkgname=gperftools
|
||||||
pkgver=2.2
|
pkgver=2.2.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=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
@ -27,27 +27,25 @@ makedepends=('git')
|
||||||
optdepends=('graphviz: pprof graph generation'
|
optdepends=('graphviz: pprof graph generation'
|
||||||
'gv: pprof postscript generation')
|
'gv: pprof postscript generation')
|
||||||
options=('!libtool')
|
options=('!libtool')
|
||||||
source=("git+https://code.google.com/p/gperftools#tag=gperftools-$pkgver"
|
source=("https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/$pkgname-$pkgver.tar.gz")
|
||||||
"armv6.patch")
|
"armv6.patch")
|
||||||
sha256sums=('SKIP'
|
md5sums=('47cbede9442764f9e8fbc403af6cacfd'
|
||||||
'879a6e92947a5538885b9e63c2675a93d57870f58c2d61260fec91ce56823df8')
|
'68606edc5920e10930647b8f276fbe88')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$pkgname"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
||||||
patch -p1 -i ../armv6.patch
|
patch -p1 -i ../armv6.patch
|
||||||
./autogen.sh
|
|
||||||
}
|
}
|
||||||
|
|
||||||
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"
|
||||||
|
|
Loading…
Reference in a new issue