diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-06-12 14:19:34 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-06-12 14:19:34 +0000 |
commit | 54cac42a71fdc49d142d47b286484af2de42840e (patch) | |
tree | c594aab01683ab11b1dd1a2ac3446e91f10ba3a1 /dev-db | |
parent | Update the nvidia-drivers dependency for CUDA 4.0 to req. at least 270.41. (diff) | |
download | gentoo-2-54cac42a71fdc49d142d47b286484af2de42840e.tar.gz gentoo-2-54cac42a71fdc49d142d47b286484af2de42840e.tar.bz2 gentoo-2-54cac42a71fdc49d142d47b286484af2de42840e.zip |
Initial commit. Fixes bug #284476. Required for sci-geosciences/qgis.
(Portage version: 2.2.0_alpha39/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/spatialite/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/spatialite/metadata.xml | 9 | ||||
-rw-r--r-- | dev-db/spatialite/spatialite-2.4.0_rc4.ebuild | 42 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-db/spatialite/ChangeLog b/dev-db/spatialite/ChangeLog new file mode 100644 index 000000000000..1f53894a8e29 --- /dev/null +++ b/dev-db/spatialite/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-db/spatialite +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/spatialite/ChangeLog,v 1.1 2011/06/12 14:19:34 scarabeus Exp $ + +*spatialite-2.4.0_rc4 (12 Jun 2011) + + 12 Jun 2011; Tomáš Chvátal <scarabeus@gentoo.org> + +spatialite-2.4.0_rc4.ebuild, +metadata.xml: + Initial commit. Fixes bug #284476. Required for sci-geosciences/qgis. + diff --git a/dev-db/spatialite/metadata.xml b/dev-db/spatialite/metadata.xml new file mode 100644 index 000000000000..4ba8ec8ebd54 --- /dev/null +++ b/dev-db/spatialite/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-geosciences</herd> +<use> + <flag name='geos'>Add the <pkg>sci-libs/geos</pkg> library for exact topological tests</flag> + <flag name='proj'>Add the <pkg>sci-libs/proj</pkg> library for reprojection features</flag> +</use> +</pkgmetadata> diff --git a/dev-db/spatialite/spatialite-2.4.0_rc4.ebuild b/dev-db/spatialite/spatialite-2.4.0_rc4.ebuild new file mode 100644 index 000000000000..da01c974980c --- /dev/null +++ b/dev-db/spatialite/spatialite-2.4.0_rc4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/spatialite/spatialite-2.4.0_rc4.ebuild,v 1.1 2011/06/12 14:19:34 scarabeus Exp $ + +EAPI=4 + +MY_PV=${PV/_rc/-} +MY_P=lib${P/_rc*} + +inherit multilib + +DESCRIPTION="A complete Spatial DBMS in a nutshell built upon sqlite" +HOMEPAGE="http://www.gaia-gis.it/spatialite" +SRC_URI="http://www.gaia-gis.it/${PN}-${MY_PV}/${MY_P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+geos iconv +proj" + +RDEPEND=">=dev-db/sqlite-3.7.5:3[extensions] + geos? ( sci-libs/geos ) + proj? ( sci-libs/proj )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_configure() { + econf \ + --disable-static \ + --enable-geocallbacks \ + --enable-epsg \ + $(use_enable geos) \ + $(use_enable iconv) \ + $(use_enable proj) +} + +src_install() { + default + + find "${ED}" -name '*.la' -exec rm -f {} + +} |