forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wsjtx-1.7.0.ebuild
49 lines (41 loc) · 1.05 KB
/
wsjtx-1.7.0.ebuild
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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
DESCRIPTION="Weak signal ham radio communication"
HOMEPAGE="http://physics.princeton.edu/pulsar/K1JT/wsjtx.html"
SRC_URI="mirror://sourceforge/wsjt/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
RDEPEND="dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtnetwork
dev-qt/qtwidgets
dev-qt/qtconcurrent
dev-qt/qtserialport
virtual/libusb:1
media-libs/portaudio
sci-libs/fftw:3.0[threads]
virtual/fortran
app-text/asciidoc
doc? ( dev-ruby/asciidoctor )"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DWSJT_GENERATE_DOCS="$(usex doc)"
-DWSJT_DOC_DESTINATION="/doc/${PF}"
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
rm "${D}"/usr/bin/rigctl{,d}-wsjtx || die
rm "${D}"/usr/share/man/man1/rigctl{,d}-wsjtx.1.gz || die
rm "${D}"/usr/share/doc/${PF}/{copyright,changelog.Debian.gz,INSTALL,COPYING} || die
}