diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-01-30 14:26:55 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-01-30 14:26:55 +0000 |
commit | b2d2c6ad67811d54b62ae1696330aa711300a513 (patch) | |
tree | ae53af5acb4ce1420bae50e19c8c6b1a3a0f70c7 /dev-db | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-b2d2c6ad67811d54b62ae1696330aa711300a513.tar.gz gentoo-2-b2d2c6ad67811d54b62ae1696330aa711300a513.tar.bz2 gentoo-2-b2d2c6ad67811d54b62ae1696330aa711300a513.zip |
*** empty log message ***
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/postgresql/files/digest-postgresql-7.0.3-r2 | 1 | ||||
-rw-r--r-- | dev-db/postgresql/postgresql-7.0.3-r2.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-db/postgresql/files/digest-postgresql-7.0.3-r2 b/dev-db/postgresql/files/digest-postgresql-7.0.3-r2 new file mode 100644 index 000000000000..2fa7e81e47a2 --- /dev/null +++ b/dev-db/postgresql/files/digest-postgresql-7.0.3-r2 @@ -0,0 +1 @@ +MD5 b416c04e6c91967160dfde866293ee6f postgresql-7.0.3.tar.gz diff --git a/dev-db/postgresql/postgresql-7.0.3-r2.ebuild b/dev-db/postgresql/postgresql-7.0.3-r2.ebuild new file mode 100644 index 000000000000..74e305192822 --- /dev/null +++ b/dev-db/postgresql/postgresql-7.0.3-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.0.3-r2.ebuild,v 1.1 2001/01/30 14:26:55 achim Exp $ + +#P= +A=${P}.tar.gz +S=${WORKDIR}/${P}/src +DESCRIPTION="PostgreSQL is a sophisticated Object-Relational DBMS" +SRC_URI="ftp://ftp.postgresql.org/pub/v7.0.3/${A}" +HOMEPAGE="http://postgresql.readysetnet.com/" + +DEPEND=">=dev-lang/tcl-tk-8" + +src_unpack() { + unpack ${A} + cd ${S}/backend/catalog + cp genbki.sh.in genbki.sh.orig + sed -e 's:\\name:name:' genbki.sh.orig > genbki.sh.in +} + +src_compile() { + + cd ${S} + try ./configure --prefix=/usr --host=${CHOST} \ + --enable-locale --with-tcl --enable-syslog + cp Makefile.global Makefile.orig + sed -e "s:^TEMPLATEDIR=.*:TEMPLATEDIR=\$(POSTGRESDIR)/lib/pgsql:" \ + -e "s:^HEADERDIR=.*:HEADERDIR=\$(POSTGRESDIR)/include/pgsql:" \ + -e "s:-O2:${CFLAGS}:" \ + Makefile.orig > Makefile.global + try make + +} + +src_install () { + + cd ${S} + dodir /usr/include/pgsql + try make POSTGRESDIR=${D}/usr install + dosed "s:/usr/pgaccess:/usr/lib/pgaccess:" /usr/bin/pgaccess + cd ${D}/usr + mv pgaccess lib + cd lib/postgres + cd ${S}/../doc + dodoc FAQ* KNOWN_BUGS MISSING_FEATURES README* + dodoc TODO* internals.ps bug.template + dodoc *.tar.gz +} + |