blob: 67938af4a9ce3021de2d86764c01406786801db2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multiprocessing verify-sig
DESCRIPTION="Create debuginfo and source file distributions"
HOMEPAGE="https://sourceware.org/debugedit/"
SRC_URI="
https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz
verify-sig? ( https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz.sig )
"
LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
DEPEND="
>=dev-libs/elfutils-0.176-r1:=
>=dev-libs/xxhash-0.8:=
"
RDEPEND="
${DEPEND}
sys-devel/dwz
"
BDEPEND="
sys-apps/help2man
virtual/pkgconfig
verify-sig? (
sec-keys/openpgp-keys-debugedit
)
"
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/debugedit.gpg
src_prepare() {
default
# bashism, https://sourceware.org/bugzilla/show_bug.cgi?id=32321
sed -i -e '/test/s:==:=:' tests/debugedit.at || die
}
src_configure() {
local myconf=(
# avoid BDEP on dwz
DWZ=dwz
ac_cv_dwz_j=yes
)
econf "${myconf[@]}"
}
src_test() {
emake -Onone check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)"
}
|