Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
gperftools: new recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
mnhu committed Mar 15, 2016
1 parent 995c12f commit 9c20cc9
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
30 changes: 30 additions & 0 deletions recipes/gperftools/gperftools.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
DESCRIPTION = "Fast, multi-threaded malloc() and nifty performance analysis tools"
HOMEPAGE = "http://code.google.com/p/gperftools/"
LICENSE = "BSD"
DEPENDS = "libunwind libpthread"

inherit autotools c++ auto-package-libs
AUTO_PACKAGE_LIBS = "profiler tcmalloc tcmalloc_minimal tcmalloc_debug tcmalloc_minimal_debug tcmalloc_and_profiler"
AUTO_PACKAGE_LIBS_DEPENDS = "libc libgcc-s libm libstdc++"
AUTO_PACKAGE_LIBS_RDEPENDS = "libc libgcc-s libm libstdc++"
LIBRARY_VERSION = "4"
LIBRARY_VERSION_${PN}-libprofiler = "0"

DEPENDS_${PN} = "libc libgcc-s libm libpthread libstdc++"
RDEPENDS_${PN} = "libc libgcc-s libm libpthread libstdc++"


DEPENDS_${PN}-libtcmalloc += "libpthread"
RDEPENDS_${PN}-libtcmalloc += "libpthread"

DEPENDS_${PN}-libtcmalloc-minimal += "libpthread"
RDEPENDS_${PN}-libtcmalloc-minimal += "libpthread"

DEPENDS_${PN}-libtcmalloc-debug += "libpthread"
RDEPENDS_${PN}-libtcmalloc-debug += "libpthread"

DEPENDS_${PN}-libtcmalloc-minimal-debug += "libpthread"
RDEPENDS_${PN}-libtcmalloc-minimal-debug += "libpthread"

DEPENDS_${PN}-libtcmalloc-and-profiler += "libpthread"
RDEPENDS_${PN}-libtcmalloc-and-profiler += "libpthread"
3 changes: 3 additions & 0 deletions recipes/gperftools/gperftools_2.4.oe
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require gperftools.inc

SRC_URI = "http://pkgs.fedoraproject.org/lookaside/pkgs/gperftools/gperftools-2.4.tar.gz/2171cea3bbe053036fb5d5d25176a160/gperftools-2.4.tar.gz"
1 change: 1 addition & 0 deletions recipes/gperftools/gperftools_2.4.oe.sig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
13b904d0d1f220e43e4495f3403ee280c6da26ea gperftools-2.4.tar.gz

0 comments on commit 9c20cc9

Please sign in to comment.