From d5365da73bf8966e7c84e36c77eeca6ab7b262c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= Date: Thu, 23 Jul 2015 09:05:02 +0200 Subject: [PATCH 1/2] libunwind: new recipe --- recipes/libunwind/libunwind.inc | 24 ++++++++++++++++++++++++ recipes/libunwind/libunwind_1.1.oe | 1 + recipes/libunwind/libunwind_1.1.oe.sig | 1 + 3 files changed, 26 insertions(+) create mode 100644 recipes/libunwind/libunwind.inc create mode 100644 recipes/libunwind/libunwind_1.1.oe create mode 100644 recipes/libunwind/libunwind_1.1.oe.sig diff --git a/recipes/libunwind/libunwind.inc b/recipes/libunwind/libunwind.inc new file mode 100644 index 000000000..acbcd1ab2 --- /dev/null +++ b/recipes/libunwind/libunwind.inc @@ -0,0 +1,24 @@ +DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program" +HOMEPAGE = "http://www.nongnu.org/libunwind" +LICENSE = "MIT" +COMPATIBLE_HOST_ARCHS = ".*linux" + +inherit c++ autotools library auto-package-libs + +SRC_URI = "http://download.savannah.nongnu.org/releases/${PN}/${PN}-${PV}.tar.gz" + +AUTO_PACKAGE_LIBS = "unwind-ptrace unwind-arm unwind-coredump unwind-setjmp" +AUTO_PACKAGE_LIBS_DEPENDS = "libc libgcc-s" +AUTO_PACKAGE_LIBS_RDEPENDS = "libc libgcc-s" + +LIBRARY_VERSION = "8" +LIBRARY_VERSION_${PN}-libunwind-coredump = "0" +LIBRARY_VERSION_${PN}-libunwind-ptrace = "0" +LIBRARY_VERSION_${PN}-libunwind-setjmp = "0" + +DEPENDS_${PN} = "libc libgcc-s" +RDEPENDS_${PN} = "libc libgcc-s" +DEPENDS_${PN}-libunwind-arm = "libunwind" +RDEPENDS_${PN}-libunwind-arm = "libunwind" +DEPENDS_${PN}-libunwind-setjmp = "libunwind libunwind-arm" +RDEPENDS_${PN}-libunwind-setjmp = "libunwind libunwind-arm" diff --git a/recipes/libunwind/libunwind_1.1.oe b/recipes/libunwind/libunwind_1.1.oe new file mode 100644 index 000000000..c7f476571 --- /dev/null +++ b/recipes/libunwind/libunwind_1.1.oe @@ -0,0 +1 @@ +require libunwind.inc diff --git a/recipes/libunwind/libunwind_1.1.oe.sig b/recipes/libunwind/libunwind_1.1.oe.sig new file mode 100644 index 000000000..ad4c08b26 --- /dev/null +++ b/recipes/libunwind/libunwind_1.1.oe.sig @@ -0,0 +1 @@ +aa04e6a7164aef754415b3b5e9453985741dd99e libunwind-1.1.tar.gz From 07e9dbe6fd8708ca10e870d3e4c04cecaa1765ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= Date: Thu, 23 Jul 2015 09:06:45 +0200 Subject: [PATCH 2/2] gperftools: new recipe --- recipes/gperftools/gperftools.inc | 31 ++++++++++++++++++++++++ recipes/gperftools/gperftools_2.4.oe | 3 +++ recipes/gperftools/gperftools_2.4.oe.sig | 1 + 3 files changed, 35 insertions(+) create mode 100644 recipes/gperftools/gperftools.inc create mode 100644 recipes/gperftools/gperftools_2.4.oe create mode 100644 recipes/gperftools/gperftools_2.4.oe.sig diff --git a/recipes/gperftools/gperftools.inc b/recipes/gperftools/gperftools.inc new file mode 100644 index 000000000..b543731f1 --- /dev/null +++ b/recipes/gperftools/gperftools.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "Fast, multi-threaded malloc() and nifty performance analysis tools" +HOMEPAGE = "http://code.google.com/p/gperftools/" +LICENSE = "BSD" +DEPENDS = "libunwind libpthread" +COMPATIBLE_HOST_ARCHS = ".*linux" + +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" diff --git a/recipes/gperftools/gperftools_2.4.oe b/recipes/gperftools/gperftools_2.4.oe new file mode 100644 index 000000000..0e05e0a36 --- /dev/null +++ b/recipes/gperftools/gperftools_2.4.oe @@ -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" diff --git a/recipes/gperftools/gperftools_2.4.oe.sig b/recipes/gperftools/gperftools_2.4.oe.sig new file mode 100644 index 000000000..41f6ae676 --- /dev/null +++ b/recipes/gperftools/gperftools_2.4.oe.sig @@ -0,0 +1 @@ +13b904d0d1f220e43e4495f3403ee280c6da26ea gperftools-2.4.tar.gz