1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="A modern multi-purpose calculator library"
7 HOMEPAGE="https://qalculate.github.io/"
8 SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
12 KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
13 IUSE="curl icu gnuplot readline static-libs"
20 curl? ( net-misc/curl )
21 icu? ( dev-libs/icu:= )
22 readline? ( sys-libs/readline:0= )"
23 DEPEND="${COMMON_DEPEND}
27 RDEPEND="${COMMON_DEPEND}
28 gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
33 cat >po/POTFILES.skip <<-EOF
34 # Required by make check
35 data/currencies.xml.in
48 $(use_enable static-libs static) \
49 $(use_with curl libcurl) \
55 # docs/reference/Makefile.am -> referencedir=
58 referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
61 dodoc AUTHORS ChangeLog NEWS README* TODO
63 find "${ED}" -name '*.la' -delete || die