Postsync update gentoo
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
DIST libbacktrace-1.0_p20230329.tar.gz 680548 BLAKE2B 486c5000f56e20838dac30260f59a94484e03114c394f71d6e45a5e809fd2cf7c0c97b80ad0cdffce6384dd42cce7b6673da2332f48f59538e9fcd3ca3590209 SHA512 32a56c43b36fb35207665389891c1afd47d21fb8856c7a5f8235d5447543dbbee4a416c2d7ba3e9af99b0ee7a989b1dc25f549f256ba32f1c6bcac0afc683977
|
||||
DIST libbacktrace-libtool-no-wrap-tests.patch 6591 BLAKE2B a63e35d1bf0cddb3fa47d65d7c1e06303c38f3ad3a47d278d392bceb7789e5285d03657a3431dad1414f2cc648b54ee1a329c9c9c6d5d2ab8a6bfdf2f44c9db6 SHA512 0c6534464122c9d2b6922007861e1afd5ea5b941c68ae7c4433b7109372a1c61007e3e7ff0fadc62d7b06f1acb06a9fb082df50ba3de31e520e2702c31f1a307
|
||||
@@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="C library that may be linked into a C/C++ program to produce symbolic backtraces"
|
||||
HOMEPAGE="https://github.com/ianlancetaylor/libbacktrace"
|
||||
COMMITHASH="cdb64b688dda93bbbacbc2b1ccf50ce9329d4748"
|
||||
SRC_URI="${HOMEPAGE}/archive/${COMMITHASH}.tar.gz -> ${P}.tar.gz
|
||||
${HOMEPAGE}/commit/6674aadb6f2be925e89b253f1b380ecdbc69777b.patch?full_index=1 -> ${PN}-libtool-no-wrap-tests.patch"
|
||||
S="${WORKDIR}/${PN}-${COMMITHASH}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~riscv ~x86"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${DISTDIR}/${PN}-libtool-no-wrap-tests.patch"
|
||||
)
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-arch/xz-utils
|
||||
sys-libs/zlib
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --enable-shared \
|
||||
$(use_enable static{-libs,})
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user