void-packages/srcpkgs/jemalloc/template

30 lines
794 B
Bash

# Template file for 'jemalloc'
pkgname=jemalloc
version=4.4.0
revision=1
build_style=gnu-configure
configure_args="je_cv_static_page_shift=12"
short_desc="General-purpose scalable concurrent malloc(3) implementation"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
homepage="http://jemalloc.net/"
license="2-clause-BSD"
distfiles="https://github.com/jemalloc/jemalloc/releases/download/${version}/jemalloc-${version}.tar.bz2"
checksum=a7aea63e9718d2f1adf81d87e3df3cb1b58deb86fc77bad5d702c4c59687b033
post_install() {
vlicense COPYING
}
jemalloc-devel_package() {
depends="${sourcepkg}>=${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
}
}