mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 07:37:14 +08:00
jemalloc: update to 4.5.0
This commit is contained in:
parent
d55674d84a
commit
71a688214a
@ -1,32 +1,26 @@
|
|||||||
# Maintainer: AlmAck
|
|
||||||
|
|
||||||
pkgname=jemalloc
|
pkgname=jemalloc
|
||||||
pkgver=3.6.0
|
pkgver=4.5.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="General-purpose scalable concurrent malloc implementation"
|
pkgdesc="General-purpose scalable concurrent malloc implementation"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
url="http://www.canonware.com/jemalloc/"
|
url="http://jemalloc.net/"
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
makedepends=('autoconf' 'make' 'bash')
|
optdepends=('perl: memory profiler')
|
||||||
optdepends=(
|
source=(https://github.com/jemalloc/jemalloc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
|
||||||
'perl: memory profiler'
|
sha256sums=('9409d85664b4f135b77518b0b118c549009dc10f6cba14557d170476611f6780')
|
||||||
)
|
|
||||||
source=(http://www.canonware.com/download/jemalloc/$pkgname-$pkgver.tar.bz2)
|
|
||||||
sha256sums=('e16c2159dd3c81ca2dc3b5c9ef0d43e1f2f45b04548f42db12e7c12d7bdf84fe')
|
|
||||||
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
CFLAGS="$CFLAGS -std=gnu11" ./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
mv "$pkgdir"/usr/bin/{,jemalloc-}pprof
|
find "$pkgdir" -name \*.a -type f -exec chmod 644 '{}' \;
|
||||||
chmod 644 "$pkgdir"/usr/lib/*.a
|
|
||||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user