* update gperftools to 2.16-1
This commit is contained in:
parent
a7076a9f69
commit
2bd5c6a96f
21
gperftools/.SRCINFO
Normal file
21
gperftools/.SRCINFO
Normal file
@ -0,0 +1,21 @@
|
||||
pkgbase = gperftools
|
||||
pkgdesc = Fast, multi-threaded malloc and nifty performance analysis tools
|
||||
pkgver = 2.16
|
||||
pkgrel = 1
|
||||
url = https://github.com/gperftools/gperftools
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc64
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
license = BSD-3-Clause
|
||||
makedepends = git
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = libunwind
|
||||
optdepends = graphviz: pprof graph generation
|
||||
optdepends = perl: pprof and pprof-symbolize commands
|
||||
source = git+https://github.com/gperftools/gperftools.git#tag=gperftools-2.16
|
||||
b2sums = e48d103d3954aea25b1dc0315cbfe080a12ca45154e25d824b4096fc735928104e4c28d98287fd44993f38ec28f56fa72be6ecee85227d03f69235c70063e5da
|
||||
|
||||
pkgname = gperftools
|
6
gperftools/.nvchecker.toml
Normal file
6
gperftools/.nvchecker.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[gperftools]
|
||||
source = "git"
|
||||
git = "https://github.com/gperftools/gperftools.git"
|
||||
include_regex = "gperftools-.*"
|
||||
exclude_regex = 'gperftools-\d+\.\d+\.90'
|
||||
prefix = "gperftools-"
|
@ -8,27 +8,49 @@
|
||||
# Contributor: Jan Rüegg <rggjan@gmail.com>
|
||||
|
||||
pkgname=gperftools
|
||||
pkgver=2.15
|
||||
pkgrel=1.1
|
||||
pkgver=2.16
|
||||
pkgrel=1
|
||||
pkgdesc='Fast, multi-threaded malloc and nifty performance analysis tools'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://github.com/gperftools/gperftools'
|
||||
license=('BSD-3-Clause')
|
||||
depends=('gcc-libs' 'glibc' 'libunwind')
|
||||
optdepends=('graphviz: pprof graph generation'
|
||||
'perl: pprof and pprof-symbolize commands')
|
||||
source=("https://github.com/gperftools/gperftools/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
sha256sums=('c69fef855628c81ef56f12e3c58f2b7ce1f326c0a1fe783e5cae0b88cbbe9a80')
|
||||
license=(BSD-3-Clause)
|
||||
depends=(
|
||||
gcc-libs
|
||||
glibc
|
||||
libunwind
|
||||
)
|
||||
makedepends=(git)
|
||||
optdepends=(
|
||||
'graphviz: pprof graph generation'
|
||||
'perl: pprof and pprof-symbolize commands'
|
||||
)
|
||||
source=("git+https://github.com/gperftools/gperftools.git#tag=$pkgname-$pkgver")
|
||||
b2sums=(e48d103d3954aea25b1dc0315cbfe080a12ca45154e25d824b4096fc735928104e4c28d98287fd44993f38ec28f56fa72be6ecee85227d03f69235c70063e5da)
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr --enable-frame-pointers --enable-libunwind
|
||||
cd $pkgname
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--enable-frame-pointers \
|
||||
--enable-libunwind
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
check() {
|
||||
cd $pkgname
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user