diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-02-19 19:10:38 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-02-19 22:15:06 +0100 |
commit | 8fca3b1b2453bd0bb86e14449b74ffff3e867ea4 (patch) | |
tree | 1c2a32d8e01f344490a693b727a852d2767c7b66 /dev-db | |
parent | 9bad2cd4b5c42000945bb87e4b6b2a62a4de6a2d (diff) | |
download | gentoo-8fca3b1b2453bd0bb86e14449b74ffff3e867ea4.tar.gz gentoo-8fca3b1b2453bd0bb86e14449b74ffff3e867ea4.tar.xz |
dev-db/spatialite: Drop unused eclasses, add USE=xml, fix DEPENDs
Removing prune_libtool_files.
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/spatialite/spatialite-4.3.0-r1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-db/spatialite/spatialite-4.3.0-r1.ebuild b/dev-db/spatialite/spatialite-4.3.0-r1.ebuild new file mode 100644 index 00000000000..9bba60bc049 --- /dev/null +++ b/dev-db/spatialite/spatialite-4.3.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_PN="lib${PN}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A complete Spatial DBMS in a nutshell built upon sqlite" +HOMEPAGE="https://www.gaia-gis.it/gaia-sins/" +SRC_URI="https://www.gaia-gis.it/gaia-sins/${MY_PN}-sources/${MY_P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="+geos iconv +proj test +xls +xml" + +RDEPEND=" + >=dev-db/sqlite-3.7.5:3[extensions(+)] + sys-libs/zlib + geos? ( >=sci-libs/geos-3.4 ) + proj? ( sci-libs/proj ) + xls? ( dev-libs/freexl ) + xml? ( dev-libs/libxml2 ) +" +DEPEND="${RDEPEND}" + +REQUIRED_USE="test? ( iconv )" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf \ + --disable-examples \ + --disable-static \ + --enable-epsg \ + --enable-geocallbacks \ + $(use_enable geos) \ + $(use_enable geos geosadvanced) \ + $(use_enable iconv) \ + $(use_enable proj) \ + $(use_enable xls freexl) \ + $(use_enable xml libxml2) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |