void-packages/srcpkgs/jemalloc/template

29 lines
736 B
Plaintext

# Template file for 'jemalloc'
pkgname=jemalloc
version=3.6.0
revision=2
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
post_install() {
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"
}
}