mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 11:52:25 +01:00
55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=jemalloc
|
|
pkgver=3.6.0
|
|
pkgrel=1
|
|
pkgdesc="A general purpose malloc(3) implementation"
|
|
url="http://www.canonware.com/jemalloc/"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://www.canonware.com/download/jemalloc/$pkgname-$pkgver.tar.bz2
|
|
jemalloc-no-pprof.patch"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
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
|
|
rm -f "$pkgdir"/usr/lib/*.la
|
|
}
|
|
|
|
md5sums="e76665b63a8fddf4c9f26d2fa67afdf2 jemalloc-3.6.0.tar.bz2
|
|
4619ff9178f3218dd142d43e5d9f5c46 jemalloc-no-pprof.patch"
|
|
sha256sums="e16c2159dd3c81ca2dc3b5c9ef0d43e1f2f45b04548f42db12e7c12d7bdf84fe jemalloc-3.6.0.tar.bz2
|
|
a001510da976d20ba13a9e0d027212a1a62cf574e462850f6764636f23b6a79c jemalloc-no-pprof.patch"
|
|
sha512sums="ebe7c64558a87a735b5906d5cb7527c241664eeae7328538675a12eabe7a1004be0f8766a3bd2a78e61334b196ca7ffc0ee8b8ff59167922a35f126cd1e76e43 jemalloc-3.6.0.tar.bz2
|
|
a97c4eb504f8eb725fdd65683b512ea69773f1a183020a785cd02c5ac7e174a7206bf921a30ce63e5b183ef7bef34cec28ccdb57e16dfebd33f5a8161af2989d jemalloc-no-pprof.patch"
|