diff options
author | Gérald Fenoy <djay@gentoo.org> | 2006-04-06 20:27:57 +0000 |
---|---|---|
committer | Gérald Fenoy <djay@gentoo.org> | 2006-04-06 20:27:57 +0000 |
commit | 6e4026c0ecf03954eb8eb7fb37d7b3aacc134fd0 (patch) | |
tree | 5ed80032fe2c7d1bac0d60d45b99195439657fdd /dev-db/postgis | |
parent | Change the configure logic, we can pass the lib and include paths without bot... (diff) | |
download | historical-6e4026c0ecf03954eb8eb7fb37d7b3aacc134fd0.tar.gz historical-6e4026c0ecf03954eb8eb7fb37d7b3aacc134fd0.tar.bz2 historical-6e4026c0ecf03954eb8eb7fb37d7b3aacc134fd0.zip |
Version bump
Package-Manager: portage-2.1_pre7-r4
Diffstat (limited to 'dev-db/postgis')
-rw-r--r-- | dev-db/postgis/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/postgis/Manifest | 22 | ||||
-rw-r--r-- | dev-db/postgis/files/digest-postgis-1.1.2 | 3 | ||||
-rw-r--r-- | dev-db/postgis/postgis-1.1.2.ebuild | 98 |
4 files changed, 126 insertions, 4 deletions
diff --git a/dev-db/postgis/ChangeLog b/dev-db/postgis/ChangeLog index 4406a808e0d5..efee479a3297 100644 --- a/dev-db/postgis/ChangeLog +++ b/dev-db/postgis/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/postgis # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/ChangeLog,v 1.20 2006/03/20 08:04:01 nakano Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/ChangeLog,v 1.21 2006/04/06 20:27:57 djay Exp $ + +*postgis-1.1.2 (06 Apr 2006) + + 06 Apr 2006; Gérald Fenoy djay@gentoo.org +postgis-1.1.2.ebuild: + Version Bump to 1.1.2 *postgis-1.1.1 (20 Mar 2006) diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest index 5ada3d247190..1ba8544700dd 100644 --- a/dev-db/postgis/Manifest +++ b/dev-db/postgis/Manifest @@ -1,6 +1,9 @@ -MD5 c511b05e9bdcefd2afa02ab0e3f2b733 ChangeLog 2301 -RMD160 82efdf04619e42cff287ba78ee04ade8e984f782 ChangeLog 2301 -SHA256 dc6f734cb636b6a56d98c03e2a0648e3536384723f608b2139ee1802669b4164 ChangeLog 2301 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 dfa38a33214ba6dfd44459ef698b926c ChangeLog 2422 +RMD160 d1aa1cd42942a9f6e43b42b59b92f9ad50625002 ChangeLog 2422 +SHA256 5c75f56264eceff4562a990f3ae9817b89c50b7f696faf4c8363b84e6a0ec603 ChangeLog 2422 MD5 e02da1081e84b4266aff297f0e422688 files/digest-postgis-0.7.5-r2 135 RMD160 7d5f32825082af0150afe0bda570baaedfd67dba files/digest-postgis-0.7.5-r2 135 SHA256 b23f4248f0cc23310fb967fd6588d43a728df57f5b8d3ce8e2a6076f60fa47ff files/digest-postgis-0.7.5-r2 135 @@ -13,6 +16,9 @@ SHA256 41475351bac30f025f36bb2e72975971d22f1576d717bd388cf8ff9a8b4f1f3a files/di MD5 068275dc19c93d08c140031a8ae1f238 files/digest-postgis-1.1.1 66 RMD160 d3eda25ce9bd3c7bebc7c0a27e0b84597bd7d9dd files/digest-postgis-1.1.1 66 SHA256 7f3760e5e80c97a5927fdaed3738d86c64755c7d93ab1bd3a928b3a44400fc41 files/digest-postgis-1.1.1 66 +MD5 74f40ff3f40001a4f63b8bc558aabd85 files/digest-postgis-1.1.2 244 +RMD160 6cb427bacdb15ba68c494b454526a6a5313c0061 files/digest-postgis-1.1.2 244 +SHA256 c81dd0e4008794ce0b9f9add53e8c74935f65acce6b9a1dbe9474678aefb9c28 files/digest-postgis-1.1.2 244 MD5 12ed945462c95968c560ca03fe6de27f files/postgis-1.1.1_doc.patch 711 RMD160 182a5127d83b18b48c5b013b63427d485f770e36 files/postgis-1.1.1_doc.patch 711 SHA256 4c0b50b26bc22e09d60ac14ad4639880e1fca7c92eb55929d6dc10c0ec4ce691 files/postgis-1.1.1_doc.patch 711 @@ -31,3 +37,13 @@ SHA256 24294081cf70654bab9105f3f9fd4821d770902b32a57fc3863dadfa1bc4af50 postgis- MD5 711371bd655349d64bf4ab6f991de7f3 postgis-1.1.1.ebuild 3124 RMD160 500e3ace07ae38be023448960adf39a284441052 postgis-1.1.1.ebuild 3124 SHA256 44fda4fc3ddace34b1bef07c46dba6a7383299534a8434db203a55498cbb0bc4 postgis-1.1.1.ebuild 3124 +MD5 fb4d413bc72dca4fd3a89fb0af427dd4 postgis-1.1.2.ebuild 2708 +RMD160 28eeaaad9891ebf2c06bddd6171d2a15cb2fddf3 postgis-1.1.2.ebuild 2708 +SHA256 247eea372666c74b24d8e0d206cf1a40290f283f0a0a9231f009d4cac03c398d postgis-1.1.2.ebuild 2708 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.2 (GNU/Linux) + +iD8DBQFENXneGG5LT2KRH24RAgltAJ4yy0zw95zUmlO5ZMWmPWyLd2OFNACePkbJ +0BJFpyAOuFmpvv86BNmfYWQ= +=d+ea +-----END PGP SIGNATURE----- diff --git a/dev-db/postgis/files/digest-postgis-1.1.2 b/dev-db/postgis/files/digest-postgis-1.1.2 new file mode 100644 index 000000000000..44314be4ce12 --- /dev/null +++ b/dev-db/postgis/files/digest-postgis-1.1.2 @@ -0,0 +1,3 @@ +MD5 4b170cc30d9b7fec493fe779e46aa50c postgis-1.1.2.tar.gz 1547680 +RMD160 0536e91dc65d3ea8ead7e788f0b0fa1ee81f295a postgis-1.1.2.tar.gz 1547680 +SHA256 5d63b1875e6dd8610001ad89d97351eaaf1c3205fc6ec57365e2bb9f6b990fb5 postgis-1.1.2.tar.gz 1547680 diff --git a/dev-db/postgis/postgis-1.1.2.ebuild b/dev-db/postgis/postgis-1.1.2.ebuild new file mode 100644 index 000000000000..65424bdb068f --- /dev/null +++ b/dev-db/postgis/postgis-1.1.2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-1.1.2.ebuild,v 1.1 2006/04/06 20:27:57 djay Exp $ + +inherit autotools eutils + +DESCRIPTION="Geographic Objects for PostgreSQL" +HOMEPAGE="http://postgis.refractions.net" +SRC_URI="http://www.postgis.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="geos proj" + +DEPEND=">=dev-db/postgresql-7.4 + app-text/docbook-xsl-stylesheets + geos? ( sci-libs/geos ) + proj? ( sci-libs/proj ) + sys-devel/autoconf" +RDEPEND=">=dev-db/postgresql-7.4 + geos? ( sci-libs/geos ) + proj? ( sci-libs/proj )" + +RESTRICT="test" + +pkg_setup(){ + tmp="$(portageq match / ${CATEGORY}/${PN})" + if [ "${tmp}" != "${CATEGORY}/${PF}" ]; then + ewarn "Don't forget to dump your databases with -Fc options before" + ewarn "upgrading postgis." + ewarn "(see http://postgis.refractions.net/docs/ch02.html#upgrading)" + ebeep 4 + fi +} + +src_unpack(){ + unpack "${P}.tar.gz" + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.1.1_doc.patch + local xslv + xslv="$(ls /usr/share/sgml/docbook/ | grep xsl\-)" + einfo "doc will be build with template :" + einfo "${xslv}" + sed "s:xsl-stylesheets:${xslv}:" -i configure.in || die "xsl-stylesheets pb" +} + +src_compile(){ + cd "${S}" + eautoconf + local myconf + myconf="${myconf} --enable-autoconf \ + --datadir=/usr/share/postgresql/contrib/\ + --libdir=/usr/$(get_libdir)/postgresql/\ + --with-docdir=/usr/share/doc/${PF}/html/" + econf ${myconf} \ + $(use_with geos) \ + $(use_with proj)\ + || die "Error: econf failed" + + emake || die "Error: emake failed" + + make docs || die "Unable to build documentation" + cd topology/ + emake || die "Unable to build topology sql file" +} + +src_install(){ + into /usr + cd "${S}" + dodir /usr/$(get_libdir)/postgresql /usr/share/postgresql/contrib/ + make DESTDIR="${D}" install || die "einstall failed" + cd "${S}"/topology/ + make DESTDIR="${D}" install + + cd "${S}" + dodoc CHANGES COPYING CREDITS README.postgis TODO loader/README.*\ + doc/*txt || die "Unable to install doc" + + docinto topology + dodoc topology/{TODO,README} + + cd "${S}" + make DESTDIR="${D}" docs-install || die "Unable to install documentation" + + dobin ./utils/postgis_restore.pl +} + +pkg_postinst() { + einfo "To create your first postgis database use the following commands :" + einfo " # su postgres" + einfo " # createdb test" + einfo " # createlang plpgsql test" + einfo " # psql -d test -f /usr/share/postgresql/contrib/lwpostgis.sql" + einfo " # psql -d test -f /usr/share/postgresql/contrib/spatial_ref_sys.sql" + einfo "For more informations see : http://www.postgis.org/documentation.php" + einfo "(For french user only see http://postgis.fr)" +} |