2014-09-24 08:55:38 +00:00
|
|
|
# Template file for 'jemalloc'
|
|
|
|
pkgname=jemalloc
|
|
|
|
version=3.6.0
|
2015-02-23 10:48:10 +00:00
|
|
|
revision=2
|
2014-09-24 08:55:38 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="je_cv_static_page_shift=12"
|
|
|
|
short_desc="A scalable concurrent allocator"
|
|
|
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
|
|
|
homepage="http://www.canonware.com/jemalloc/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="http://www.canonware.com/download/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
|
|
checksum=e16c2159dd3c81ca2dc3b5c9ef0d43e1f2f45b04548f42db12e7c12d7bdf84fe
|
|
|
|
|
2015-02-23 10:48:10 +00:00
|
|
|
post_install() {
|
2014-09-24 08:55:38 +00:00
|
|
|
rm ${DESTDIR}/usr/bin/pprof
|
|
|
|
}
|
|
|
|
|
|
|
|
jemalloc-devel_package() {
|
|
|
|
depends="jemalloc>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|