Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 58216 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.99.99.ebuild
postgis-1.99.99.ebuild (text/plain), 2.28 KB, created by
FENOY Gérald (RETIRED)
on 2005-05-06 11:01:17 UTC
(
hide
)
Description:
postgis-1.99.99.ebuild
Filename:
MIME Type:
Creator:
FENOY Gérald (RETIRED)
Created:
2005-05-06 11:01:17 UTC
Size:
2.28 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="Geographic Objects for PostgreSQL" >HOMEPAGE="http://postgis.refractions.net" >SRC_URI="http://postgis.refractions.net/${PN}-cvs.tar.gz" > >S="${WORKDIR}/${PN}-cvs" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~ppc ~amd64 ~ia64 ~pp64" >IUSE="doc geos proj" > >DEPEND=">=dev-db/postgresql-8.0.0 \ > geos? (sci-libs/geos) \ > proj? (sci-libs/proj) \ > sys-devel/autoconf " >RDEPEND=">=dev-db/postgresql-8.0.0 \ > geos? (sci-libs/geos) \ > proj? (sci-libs/proj)" > >src_unpack(){ > unpack "${PN}-cvs.tar.gz" >} > >src_compile(){ > local myconf > > use ppc && CFLAGS="-pipe -fsigned-char" > > myconf="${myconf} --enable-autoconf --with-maxbackends=1024" > > cd ${S} > if use doc; then > local xslv="$(portageq match / app-text/docbook-xsl-stylesheets |\ > cut -d'/' -f2 | sed s/"docbook-"//)" > einfo "Building doc with ${xslv}" > cat configure.in |\ > sed s/"xsl-stylesheets"/"${xslv}"/ > configure.in > fi > > autoconf > if use geos; then > myconf="${myconf} $(use_with geos)=$(which geos-config)" > fi > if use proj; then > myconf="${myconf} $(use_with proj)=/usr" > fi > econf ${myconf} \ > || die "Error: econf failed" > if use doc; then > einfo "doc will be built" > else > einfo "removing build directives for doc from Makefile" > cat Makefile | sed -e s/"utils docs"/"utils"/ \ > -e s/"loaderdumper-install docs-install"/"loaderdumper-install"/>\ > Makefile > fi > > emake || die "Error: emake failed" >} > >src_install(){ > into /usr > cd ${S} > einstall || die "Error: einstall failed" > dodir /usr/share/postgresql /usr/share/postgresql/contrib/ > mv ${D}/usr/share/*.sql ${D}/usr/share/postgresql/contrib/ > dodoc CHANGES COPYING CREDITS README.postgis TODO > if use doc; then > cd ${S}/doc > dohtml -r html/* > dodoc *.txt > fi >} > >pkg_postinst() { > einfo "To create your first postgis database do the followings commands :" > einfo " # su postgres" > einfo " # createdb -E SQL_ASCII poolp" > einfo " # createlang plpgsql poolp" > einfo " # psql -d poolp -f /usr/share/postgresql/contrib/lwpostgis.sql" > einfo " # psql -d poolp -f /usr/share/postgresql/contrib/spatial_ref_sys.sql" > einfo "For more informations go to : 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