summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-05-25 17:31:36 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-05-25 17:31:36 +0000
commit2be67502aa734c3b7d163d20fd68287bb5dc8333 (patch)
treed4b9a89fa2aee1f9d40aceb076ee41a7ed5f0596 /dev-db/spatialite
parentkeyword ~amd64-fbsd (diff)
downloadgentoo-2-2be67502aa734c3b7d163d20fd68287bb5dc8333.tar.gz
gentoo-2-2be67502aa734c3b7d163d20fd68287bb5dc8333.tar.bz2
gentoo-2-2be67502aa734c3b7d163d20fd68287bb5dc8333.zip
Version bump to latest release.
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/spatialite')
-rw-r--r--dev-db/spatialite/ChangeLog10
-rw-r--r--dev-db/spatialite/metadata.xml1
-rw-r--r--dev-db/spatialite/spatialite-3.0.1.ebuild46
3 files changed, 55 insertions, 2 deletions
diff --git a/dev-db/spatialite/ChangeLog b/dev-db/spatialite/ChangeLog
index 313f9787971d..2c0d9f76f8a3 100644
--- a/dev-db/spatialite/ChangeLog
+++ b/dev-db/spatialite/ChangeLog
@@ -1,6 +1,12 @@
# 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.3 2011/08/07 12:03:49 maekke Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/spatialite/ChangeLog,v 1.4 2012/05/25 17:31:36 scarabeus Exp $
+
+*spatialite-3.0.1 (25 May 2012)
+
+ 25 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> +spatialite-3.0.1.ebuild,
+ metadata.xml:
+ Version bump to latest release.
07 Aug 2011; Markus Meier <maekke@gentoo.org> spatialite-2.4.0_rc4.ebuild:
x86 stable, bug #375989
diff --git a/dev-db/spatialite/metadata.xml b/dev-db/spatialite/metadata.xml
index 4ba8ec8ebd54..dd2d30615678 100644
--- a/dev-db/spatialite/metadata.xml
+++ b/dev-db/spatialite/metadata.xml
@@ -5,5 +5,6 @@
<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>
+ <flag name='xls'>Add the <pkg>dev-libs/freexl</pkg> library for xls import support</flag>
</use>
</pkgmetadata>
diff --git a/dev-db/spatialite/spatialite-3.0.1.ebuild b/dev-db/spatialite/spatialite-3.0.1.ebuild
new file mode 100644
index 000000000000..9ee7ec29f02d
--- /dev/null
+++ b/dev-db/spatialite/spatialite-3.0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/spatialite/spatialite-3.0.1.ebuild,v 1.1 2012/05/25 17:31:35 scarabeus Exp $
+
+EAPI=4
+
+MY_PN="lib${PN}"
+MY_P="${MY_PN}-${PV}"
+
+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/gaia-sins/${MY_PN}-sources/${MY_P}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+geos iconv +proj +xls"
+
+RDEPEND=">=dev-db/sqlite-3.7.5:3[extensions]
+ geos? ( >=sci-libs/geos-3.3 )
+ proj? ( sci-libs/proj )
+ xls? ( dev-libs/freexl )
+"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ econf \
+ --disable-static \
+ --enable-geocallbacks \
+ --enable-epsg \
+ $(use_enable geos) \
+ $(use_enable geos geosadvanced) \
+ $(use_enable iconv) \
+ $(use_enable proj) \
+ $(use_enable xls freexl)
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}