blob: ec30926841be87ba3965625764f2d18f0ebfaef3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=jemalloc
pkgver=4.2.1
pkgrel=0
pkgdesc="A general purpose malloc(3) implementation"
url="http://www.canonware.com/jemalloc/"
arch="all"
license="BSD"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.canonware.com/download/jemalloc/$pkgname-$pkgver.tar.bz2
jemalloc-no-pprof.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="094b0a7b8c77c464d0dc8f0643fd3901 jemalloc-4.2.1.tar.bz2
4619ff9178f3218dd142d43e5d9f5c46 jemalloc-no-pprof.patch"
sha256sums="5630650d5c1caab95d2f0898de4fe5ab8519dc680b04963b38bb425ef6a42d57 jemalloc-4.2.1.tar.bz2
a001510da976d20ba13a9e0d027212a1a62cf574e462850f6764636f23b6a79c jemalloc-no-pprof.patch"
sha512sums="a0bbf2150371bf31b386c668bc636a56e82145a8a81586d0898cdeed707bf1b694e777ea2afba521584998a60663bb4734e8a83697a337ea13e6ade4de737c18 jemalloc-4.2.1.tar.bz2
a97c4eb504f8eb725fdd65683b512ea69773f1a183020a785cd02c5ac7e174a7206bf921a30ce63e5b183ef7bef34cec28ccdb57e16dfebd33f5a8161af2989d jemalloc-no-pprof.patch"
|