blob: 41e7c88b7fa97f9ecb2c7f5caccdbec360531505 (
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
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit multiprocessing autotools
MYP=${P}-20190429-19761-src
DESCRIPTION="Translates addresses into filename, line number, and function names"
HOMEPAGE="http://libre.adacore.com/"
SRC_URI="http://mirrors.cdn.adacore.com/art/5cc7d5e431e87a23952f18c4 ->
${MYP}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="gnat_2018 +gnat_2019"
RDEPEND=""
DEPEND="gnat_2018? ( dev-lang/gnat-gpl:7.3.1 )
gnat_2019? ( dev-lang/gnat-gpl:8.3.1 )"
REQUIRED_USE=" ^^ ( gnat_2018 gnat_2019 )"
S="${WORKDIR}"/${MYP}
src_compile() {
if use gnat_2018; then
GCC_PV=7.3.1
else
GCC_PV=8.3.1
fi
gnatmake-${GCC_PV} -v gnatsymbolize -cargs ${ADAFLAGS} || die
}
src_install() {
dobin gnatsymbolize
}
|