1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 if [[ ${PV} == "9999" ]] ; then
9 EGIT_REPO_URI="https://github.com/seandepagnier/${MY_PN}.git"
10 inherit git-r3 cmake-utils wxwidgets
14 https://github.com/mschiff/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
16 inherit cmake-utils wxwidgets
17 KEYWORDS="~amd64 ~x86"
18 S="${WORKDIR}/${MY_PN}-${PV}"
22 mirror://sourceforge/opencpnplugins/climatology_pi/CL-DATA-1.0.tar.xz -> ${PN}-1.0-CL-DATA.tar.xz
25 DESCRIPTION="Climatology Plugin for OpenCPN (includes CL-DATA)"
26 HOMEPAGE="https://github.com/seandepagnier/climatology_pi"
33 x11-libs/wxGTK:${WX_GTK_VER}
34 >=sci-geosciences/opencpn-4.2.0
40 need-wxwidgets unicode
41 cmake-utils_src_prepare
44 cmake-utils_src_install
45 insinto "/usr/share/opencpn/plugins/${MY_PN}/data/"
46 doins "${S}"/{,../}data/*