package/libbacktrace: new package
authorAvi Shukron <avraham.shukron@gmail.com>
Sat, 15 Aug 2020 09:11:27 +0000 (12:11 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 16 Aug 2020 20:50:43 +0000 (22:50 +0200)
A C library that may be linked into a C/C++ program to produce
symbolic backtraces.

Signed-off-by: Avi Shukron <avraham.shukron@gmail.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/Config.in
package/libbacktrace/Config.in [new file with mode: 0644]
package/libbacktrace/libbacktrace.hash [new file with mode: 0644]
package/libbacktrace/libbacktrace.mk [new file with mode: 0644]

index d8d9b7617f5ce9b54f86d0c9847132eb5bc6a59e..b5285a66a29ebbcab1bb54e4a58cd760ceb4d27c 100644 (file)
@@ -1833,6 +1833,7 @@ menu "Other"
        source "package/libatomic_ops/Config.in"
        source "package/libavl/Config.in"
        source "package/libb64/Config.in"
+       source "package/libbacktrace/Config.in"
        source "package/libbsd/Config.in"
        source "package/libcap/Config.in"
        source "package/libcap-ng/Config.in"
diff --git a/package/libbacktrace/Config.in b/package/libbacktrace/Config.in
new file mode 100644 (file)
index 0000000..0f940dd
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBBACKTRACE
+       bool "libbacktrace"
+       help
+         A C library that may be linked into a C/C++ program to
+         produce symbolic backtraces
+
+         https://github.com/ianlancetaylor/libbacktrace
diff --git a/package/libbacktrace/libbacktrace.hash b/package/libbacktrace/libbacktrace.hash
new file mode 100644 (file)
index 0000000..ecd530a
--- /dev/null
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256 13072c499c76866c188beaf3d50f3dddbf2c27ed9fd72b33d1b857acd33b1cb5  libbacktrace-9b7f216e867916594d81e8b6118f092ac3fcf704.tar.gz
+sha256 ef8a9b3247488f8901ca60de9b17b745d7bd67e5ec1e622f80d62364572200d8  LICENSE
diff --git a/package/libbacktrace/libbacktrace.mk b/package/libbacktrace/libbacktrace.mk
new file mode 100644 (file)
index 0000000..8f81222
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# libbacktrace
+#
+################################################################################
+
+LIBBACKTRACE_VERSION = 9b7f216e867916594d81e8b6118f092ac3fcf704
+LIBBACKTRACE_SITE = $(call github,ianlancetaylor,libbacktrace,$(LIBBACKTRACE_VERSION))
+LIBBACKTRACE_LICENSE = BSD-3C-like
+LIBBACKTRACE_LICENSE_FILES = LICENSE
+LIBBACKTRACE_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))