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" COMPATIBLE_HOST = "aarch64-poky-linux" do_install() { install -d ${D}${libdir} install -d ${D}${libdir}/pkgconfig install -d ${D}${includedir}/jemalloc #jemalloc install -m 755 ${S}/lib64/libjemalloc.so ${D}${libdir} install -m 755 ${S}/lib64/pkgconfig/jemalloc.pc ${D}${libdir}/pkgconfig install -m 755 ${S}/include/jemalloc/jemalloc.h ${D}${includedir}/jemalloc } # The base package, this includes everything needed to actually run the application on the target system. PACKAGES += "FILES-${PN}-lib" FILES_${PN}-lib = " \ ${libdir}/lib*.so \ ${includedir}/*" # Make sure our source directory (for the build) matches the directory structure in the tarball PACKAGES = "${PN} FILES-${PN}-lib ${PN}-dev ${PN}-dbg ${PN}-staticdev" RDEPENDS_${PN}-staticdev = "" RDEPENDS_${PN}-dev = "" RDEPENDS_${PN}-dbg = "" INSANE_SKIP_${PN} = "ldflags" INHIBIT_PACKAGE_STRIP = "1" INHIBIT_SYSROOT_STRIP = "1" SOLIBS = ".so" FILES_SOLIBSDEV = ""