1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit flag-o-matic gkrellm-plugin toolchain-funcs
8 DESCRIPTION="GKrellM2 Plugin that monitors a METAR station and displays weatherinfo"
9 HOMEPAGE="https://sites.google.com/site/makovick/gkrellm-plugins"
10 SRC_URI="https://sites.google.com/site/makovick/projects/${P}.tgz"
14 KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
18 app-admin/gkrellm:2[X]
27 "${FILESDIR}"/${P}-Respect-LDFLAGS.patch
28 "${FILESDIR}"/${P}-Move-GrabWeather.patch
29 "${FILESDIR}"/${P}-update-locations.patch
33 append-cflags $($(tc-getPKG_CONFIG) --cflags gtk+-2.0)
38 emake PREFIX="${EPREFIX}"/usr CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
42 gkrellm-plugin_src_install
44 exeinto /usr/libexec/gkrellweather