Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 68540 Details for
Bug 82419
New ebuild for Postgis
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
postgis-1.0.4_p20050915.ebuild
postgis-1.0.4_p20050915.ebuild (text/plain), 2.51 KB, created by
FENOY Gérald (RETIRED)
on 2005-09-15 15:39:52 UTC
(
hide
)
Description:
postgis-1.0.4_p20050915.ebuild
Filename:
MIME Type:
Creator:
FENOY Gérald (RETIRED)
Created:
2005-09-15 15:39:52 UTC
Size:
2.51 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit autotools eutils > >DESCRIPTION="Geographic Objects for PostgreSQL" >HOMEPAGE="http://postgis.refractions.net" >SRC_URI="http://www.01map.net/gentoo/distfiles/${PN}-cvs-${PV}.tar.gz" > >S="${WORKDIR}/${PN}-cvs" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="doc geos proj" > >DEPEND=">=dev-db/postgresql-7.2 > geos? ( sci-libs/geos ) > proj? ( sci-libs/proj ) > doc? ( app-text/docbook-xsl-stylesheets ) > sys-devel/autoconf" >RDEPEND=">=dev-db/postgresql-7.2 > geos? ( sci-libs/geos ) > proj? ( sci-libs/proj )" > >src_unpack(){ > unpack "${PN}-cvs-${PV}.tar.gz" >} > >src_compile(){ > local myconf > > cd "${S}" > if use doc; then > local xslv="$(portageq match / app-text/docbook-xsl-stylesheets |\ > cut -d'/' -f2 | sed s/"docbook-"//)" > einfo "doc will be build with ${xslv}" > if [ ! -z "$(echo ${xslv} | grep '\-r')" ]; then > xslv="$(echo ${xslv} | cut -d'-' -f1 )-$(echo ${xslv} | cut -d'-' -f2 )-$(echo ${xslv} | cut -d'-' -f3)" > fi > sed s/"xsl-stylesheets"/"${xslv}"/ -i configure.in > myconf="${myconf} --with-docdir=/usr/share/doc/${PF}/html/" > else > einfo "doc will not be build" > fi > > eautoconf > myconf="${myconf} --enable-autoconf \ > --libexecdir=/usr/lib/postgresql/" > econf ${myconf} \ > $(use_with geos) \ > $(use_with proj)\ > || die "Error: econf failed" > > emake || die "Error: emake failed" > > if use doc; then > make docs || die "Unable to build documentation" > fi >} > >src_install(){ > into /usr > cd ${S} > dodir /usr/lib/postgresql /usr/share/postgresql/contrib/ > make DESTDIR="${D}" install || die "einstall failed" > mv "${D}"/usr/share/postgis/*.sql "${D}"/usr/share/postgresql/contrib/ || \ > die "Unable to create necessaries sql files" > rm -r "${D}"/usr/share/postgis/ > dodoc CHANGES COPYING CREDITS README.postgis TODO || \ > die "Unable to install doc" > if use doc; then > cd "${S}" > make DESTDIR="${D}" docs-install || die "Unable to install documentation" > rm "${D}"/usr/share/doc/${PF}/html/postgis/README.postgis > fi >} > >pkg_postinst() { > einfo "To create your first postgis database do the followings commands :" > einfo " # su postgres" > einfo " # createdb -E SQL_ASCII 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://postgis.refractions.net/documentation.php" > einfo "(For french user only see http://techer.pascal.free.fr/postgis)" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 82419
:
51484
|
55354
|
55355
|
55358
|
58216
|
65074
|
65742
|
65745
| 68540