void-packages/srcpkgs/jemalloc/template
2020-05-29 13:04:36 +02:00

30 lines
876 B
Bash

# Template file for 'jemalloc'
pkgname=jemalloc
version=5.2.1
revision=1
build_style=gnu-configure
configure_args="je_cv_static_page_shift=12"
short_desc="General-purpose scalable concurrent malloc(3) implementation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="http://jemalloc.net/"
#changelog="https://raw.githubusercontent.com/jemalloc/jemalloc/master/ChangeLog"
distfiles="https://github.com/jemalloc/jemalloc/releases/download/${version}/jemalloc-${version}.tar.bz2"
checksum=34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6
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
}
}