diff options
author | 2017-10-15 02:23:08 -0400 | |
---|---|---|
committer | 2017-10-15 02:23:08 -0400 | |
commit | f9c4785a2c90f6087bb5158f98409de89f411bcf (patch) | |
tree | 0f1856c3ddbdfc7cedd05bcc195dbf300c80b0fa /sci-libs/geos/geos-3.6.2.ebuild | |
parent | dev-ruby/paramesan: fix install without git installed, bug 634114 (diff) | |
download | gentoo-f9c4785a2c90f6087bb5158f98409de89f411bcf.tar.gz gentoo-f9c4785a2c90f6087bb5158f98409de89f411bcf.tar.bz2 gentoo-f9c4785a2c90f6087bb5158f98409de89f411bcf.zip |
sci-libs/geos: Version bump to 3.6.2
Also fixes test failure reported in bug 526516.
Gentoo-Bug: 526516
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sci-libs/geos/geos-3.6.2.ebuild')
-rw-r--r-- | sci-libs/geos/geos-3.6.2.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/sci-libs/geos/geos-3.6.2.ebuild b/sci-libs/geos/geos-3.6.2.ebuild new file mode 100644 index 000000000000..57fa6fac0d90 --- /dev/null +++ b/sci-libs/geos/geos-3.6.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="Geometry engine library for Geographic Information Systems" +HOMEPAGE="http://trac.osgeo.org/geos/" +SRC_URI="http://download.osgeo.org/geos/${P}.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 python ruby static-libs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + ruby? ( dev-lang/ruby:* ) +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + python? ( dev-lang/swig:0 ) + ruby? ( dev-lang/swig:0 ) +" + +PATCHES=( "${FILESDIR}"/3.4.2-solaris-isnan.patch ) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + echo "#!${EPREFIX}/bin/bash" > py-compile +} + +src_configure() { + econf \ + $(use_enable python) \ + $(use_enable ruby) \ + $(use_enable static-libs static) +} + +src_compile() { + default + use doc && emake -C "${S}/doc" doxygen-html +} + +src_install() { + use doc && HTML_DOCS=( doc/doxygen_docs/html/. ) + default + use python && python_optimize "${D}$(python_get_sitedir)"/geos/ + + find "${D}" -name '*.la' -delete || die +} |