mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
sci-libs/geos: Cleanup old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST geos-3.6.1.tar.bz2 1833434 BLAKE2B 7feede989d9aacad8b72e107d988bac7746e74e1674d812a2db738f124d357cf0cb24b4040f36a0e1290086c87585f1155f5cac962bb2c8ad83d7879d7f30af7 SHA512 8b28e7706567375ca02ae5f5dbebf0870e8fed8ea430596a3637e5c975e72bc0f3c16c31b052f154042dd029c54130325a8d44de95c3458f5da024a97d3cfaf9
|
||||
DIST geos-3.6.2.tar.bz2 2030705 BLAKE2B f23cf1fc080fb7b353fb6292900d84811ace04a5364200bfea19f79d7b09a795d36e30cd6e4dbb7acd8417245bc2ce644298dc1b4140ef70495e4f7d71fc522b SHA512 515d8700b8a28282678e481faee355e3a43d7b70160472a63335b8d7225d9ba10437be782378f18f31a15288118126d411a2d862f01ce35d27c96f6bc0a73016
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user