diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-25 23:06:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-25 23:06:25 +0000 |
commit | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (patch) | |
tree | 6a5171dd615dfeee62a45044144c66e864738fb0 /sci-libs/geos/geos-3.9.0-r2.ebuild | |
parent | ab3da91fb6c91a9df52fff8f991570f456fd3c7a (diff) |
gentoo christmass resync : 25.12.2020
Diffstat (limited to 'sci-libs/geos/geos-3.9.0-r2.ebuild')
-rw-r--r-- | sci-libs/geos/geos-3.9.0-r2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sci-libs/geos/geos-3.9.0-r2.ebuild b/sci-libs/geos/geos-3.9.0-r2.ebuild new file mode 100644 index 000000000000..d767867da2b1 --- /dev/null +++ b/sci-libs/geos/geos-3.9.0-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Geometry engine library for Geographic Information Systems" +HOMEPAGE="https://trac.osgeo.org/geos/" + +# Arrow can be removed at next version bump. Upstream mistakenly +# released rc1 as 3.9.0. So, we need(ed) a new Manifest entry to get the +# real 3.9.0 +SRC_URI="https://download.osgeo.org/geos/${PN}-${PV}.tar.bz2 -> ${PN}-${PV}-r1.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" +IUSE="doc static-libs" + +BDEPEND="doc? ( app-doc/doxygen )" + +RESTRICT="test" + +src_configure() { + local myeconfargs=( $(use_enable static-libs static) ) + use arm && myeconfargs+=( --disable-inline ) # bug 709368 + + econf "${myeconfargs[@]}" +} + +src_compile() { + default + use doc && emake -C doc doxygen-html +} + +src_install() { + use doc && local HTML_DOCS=( doc/doxygen_docs/html/. ) + default + + find "${D}" -name '*.la' -type f -delete || die +} |