avs_mtk_voice/meta/meta-mediatek-aud/recipes-support/jemalloc/jemalloc_5.3.0.bb

20 lines
671 B
BlitzBasic

SUMMARY = "jemalloc memory allocator"
DESCRIPTION = "jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support."
HOMEPAGE = "http://jemalloc.net/"
DEPENDS = ""
LICENSE = "GPLv2"
inherit workonsrc
WORKONSRC = "${TOPDIR}/../src/apps/jemalloc"
do_install() {
install -d ${D}/usr/lib64
install -d ${D}/usr/lib64/pkgconfig
install -d ${D}/usr/include/jemalloc
#jemalloc
install -m 755 ${S}/lib64/libjemalloc.so ${D}/usr/lib64
install -m 755 ${S}/lib64/pkgconfig/jemalloc.pc ${D}/usr/lib64/pkgconfig
install -m 755 ${S}/include/jemalloc/jemalloc.h ${D}/usr/include/jemalloc
}