summaryrefslogtreecommitdiffstats
path: root/dev-libs/libexecinfo/libexecinfo-1.1-r3.ebuild
diff options
context:
space:
mode:
authorormorph <[email protected]>2022-11-04 22:51:14 +0000
committerormorph <[email protected]>2022-11-04 22:57:32 +0000
commitb1f87280c29e08fdebef7df1478b1a9a5e276a62 (patch)
tree4a10c5654e13023636344730c7048aad26bb85b8 /dev-libs/libexecinfo/libexecinfo-1.1-r3.ebuild
parente85983bae943efefa4559b6c1b6185af5585707b (diff)
downloadtde-packaging-gentoo-b1f87280c29e08fdebef7df1478b1a9a5e276a62.tar.gz
tde-packaging-gentoo-b1f87280c29e08fdebef7df1478b1a9a5e276a62.zip
Added libexecinfo package and fixes for tdelibs, fix #277
Signed-off-by: ormorph <[email protected]>
Diffstat (limited to 'dev-libs/libexecinfo/libexecinfo-1.1-r3.ebuild')
-rw-r--r--dev-libs/libexecinfo/libexecinfo-1.1-r3.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/libexecinfo/libexecinfo-1.1-r3.ebuild b/dev-libs/libexecinfo/libexecinfo-1.1-r3.ebuild
new file mode 100644
index 00000000..00c94200
--- /dev/null
+++ b/dev-libs/libexecinfo/libexecinfo-1.1-r3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="${PV}-3"
+DESCRIPTION="A quick-n-dirty BSD licensed clone of the GNU libc backtrace facility"
+HOMEPAGE="https://www.freshports.org/devel/libexecinfo"
+SRC_URI="https://github.com/mikroskeem/${PN}/archive/refs/tags/${PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static-libs"
+
+src_prepare() {
+ default
+
+ sed -i -e 's/CC=/CC?=/' \
+ -e 's/AR=/AR?=/' \
+ Makefile || die
+}
+
+src_install() {
+ einstalldocs
+
+ doheader execinfo.h
+ doheader stacktraverse.h
+ use static-libs && dolib.a libexecinfo.a
+ dolib.so libexecinfo.so.1
+ dosym ./libexecinfo.so.1 /usr/"$(get_libdir)"/libexecinfo.so
+}