void-packages/srcpkgs/jemalloc/template

27 lines
723 B
Bash

# Template file for 'jemalloc'
pkgname=jemalloc
version=4.0.2
revision=1
build_pie=yes
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=0d8a9c8a98adb6983e0ccb521d45d9db1656ef3e71d0b14fb333f2c8138f4611
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
}
}