Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 55354 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]
The lastest rc3 version
postgis-1.0.0_rc3.ebuild (text/plain), 2.55 KB, created by
FENOY Gérald (RETIRED)
on 2005-04-05 07:04:18 UTC
(
hide
)
Description:
The lastest rc3 version
Filename:
MIME Type:
Creator:
FENOY Gérald (RETIRED)
Created:
2005-04-05 07:04:18 UTC
Size:
2.55 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >MY_PGSQLN="postgresql" >MY_PGSQLV="8.0.0" >MY_PGSQL=${MY_PGSQLN}-${MY_PGSQLV} >MY_PV="$(echo ${PV} | cut -d'_' -f1)-$(echo ${PV} | cut -d'_' -f2)" >MY_WORKDIR="${WORKDIR}/${MY_PGSQL}/contrib/${PN}-${MY_PV}" > >DESCRIPTION="Geographic Objects for PostgreSQL" >HOMEPAGE="http://postgis.refractions.net" >SRC_URI="http://postgis.refractions.net/${PN}-${MY_PV}.tar.gz > mirror://postgresql/source/v8.0.0/${MY_PGSQLN}-base-${MY_PGSQLV}.tar.bz2" > >inherit eutils > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~ppc ~amd64 ~ia64 ~pp64" >IUSE="doc readline pam zlib ssl python perl libg++ geos proj tcltk" > >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 "${MY_PGSQLN}-base-${MY_PGSQLV}.tar.bz2" || die > cd ${MY_PGSQL}/contrib > echo "${MY_WORKDIR} .. ${WORKDIR}" > unpack "${PN}-${MY_PV}.tar.gz" >} > >src_compile(){ > local myconf > use readline || myconf="$myconf --without-readline" > use zlib || myconf="$myconf --without-zlib" > use pam && myconf="$myconf --with-pam" > use libg++ && myconf="$myconf --with-CXX" > > use ppc && CFLAGS="-pipe -fsigned-char" > > myconf="${myconf} --enable-autoconf --with-maxbackends=1024" > > cd ${WORKDIR}/${MY_PGSQL} > econf \ > $(use_with tcltk) \ > $(use_with python) \ > $(use_with perl) \ > $(use_with ssl) \ > ${myconf} \ > || die "Error: econf failed" > > cd ${MY_WORKDIR} > use geos && myconf="${myconf} $(use_with geos)=/usr" > use geos && myconf="${myconf} $(use_with proj)=/usr" > > econf \ > $(use_with tcltk) \ > $(use_with python) \ > $(use_with perl) \ > $(use_with ssl) \ > ${myconf} \ > || die "Error: econf failed" > epatch ${FILESDIR}/rc3.patch > emake || die "Error: emake failed" >} > >src_install(){ > into /usr > cd ${MY_WORKDIR} > einstall || die "Error: einstall failed" > dodoc CHANGES COPYING CREDITS README.postgis TODO > if use doc; then > cd ${MY_WORKDIR}/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 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 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