1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils autotools ltprune
8 DESCRIPTION="GNU Astronomy Utilities"
9 HOMEPAGE="https://www.gnu.org/software/gnuastro"
10 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
16 IUSE="static-libs threads"
18 # jpeg, pdf, and libgit2 are forced deps
19 # because they are automagically detected.
22 app-text/ghostscript-gpl
24 sci-astronomy/wcslib:0=
33 sed -i -e 's/-O3//' configure.ac || die
39 --enable-bin-op-alltypes
40 $(use_enable static-libs static)
43 econf ${myeconfargs[@]}
48 use static-libs || prune_libtool_files --all