void-packages/srcpkgs/jemalloc/template

30 lines
756 B
Bash

# Template file for 'jemalloc'
pkgname=jemalloc
version=4.1.1
revision=1
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="2-clause-BSD"
distfiles="http://www.canonware.com/download/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=c8f13b72b3aced936337a864fbe614a43e968f4adf64314b2a39c6ce43c9adae
post_install() {
vlicense COPYING
}
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
vmove usr/lib/pkgconfig
}
}