summaryrefslogtreecommitdiff
path: root/sci-electronics/voacapl/voacapl-0.7.6-r3.ebuild
blob: 6d21f1cc08f94cb395352860200862cb6250e3e9 (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

inherit autotools dot-a fortran-2

MY_P=${PN}-v.${PV}

DESCRIPTION="HF propagation prediction tool"
HOMEPAGE="https://www.qsl.net/hz1jw/voacapl/index.html"
SRC_URI="https://github.com/jawatson/${PN}/archive/v.${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="amd64 ~x86"

RESTRICT="mirror bindist"

PATCHES=(
	"${FILESDIR}/${P}-fmtstring.patch"
	"${FILESDIR}/${P}-fmtstring1.patch"
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	lto-guarantee-fat
	econf
}

src_compile() {
	# bug 513766
	emake -j1
}

src_install() {
	default
	strip-lto-bytecode
}