summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.0.3-r31
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.12
-rw-r--r--dev-db/postgresql/postgresql-7.1.ebuild67
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-db/postgresql/files/digest-postgresql-7.0.3-r3 b/dev-db/postgresql/files/digest-postgresql-7.0.3-r3
new file mode 100644
index 000000000000..2fa7e81e47a2
--- /dev/null
+++ b/dev-db/postgresql/files/digest-postgresql-7.0.3-r3
@@ -0,0 +1 @@
+MD5 b416c04e6c91967160dfde866293ee6f postgresql-7.0.3.tar.gz
diff --git a/dev-db/postgresql/files/digest-postgresql-7.1 b/dev-db/postgresql/files/digest-postgresql-7.1
new file mode 100644
index 000000000000..8f713cb8af29
--- /dev/null
+++ b/dev-db/postgresql/files/digest-postgresql-7.1
@@ -0,0 +1,2 @@
+MD5 5499444696d919f9fbf2efcaf8e54022 postgresql-7.1.tar.gz
+MD5 9ffc80a0c387d97437bdea2b7acf09c2 rl42-pg.patch
diff --git a/dev-db/postgresql/postgresql-7.1.ebuild b/dev-db/postgresql/postgresql-7.1.ebuild
new file mode 100644
index 000000000000..f5d5f4f8d943
--- /dev/null
+++ b/dev-db/postgresql/postgresql-7.1.ebuild
@@ -0,0 +1,67 @@
+# 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.1.ebuild,v 1.1 2001/04/16 11:02:34 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="PostgreSQL is a sophisticated Object-Relational DBMS"
+SRC_URI="ftp://ftp.postgresql.org/pub/v7.1/${P}.tar.gz
+ http://www.postgresql.org/~petere/rl42-pg.patch"
+HOMEPAGE="http://postgresql.readysetnet.com/"
+
+DEPEND="virtual/glibc
+ >=sys-libs/readline-4.2
+ >=sys-libs/ncurses-5.2
+ tcltk? ( >=dev-lang/tcl-tk-8 )
+ perl? ( >=sys-devel/perl )
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}
+ patch -p0 < ${DISTDIR}/rl42-pg.patch
+}
+
+src_compile() {
+
+ local myconf
+ if [ "`use tcltk`" ]
+ then
+ myconf="--with-tcl"
+ fi
+ if [ "`use perl`" ]
+ then
+ myconf="$myconf --with-perl"
+ fi
+ if [ "`use nls`" ]
+ then
+ myconf="$myconf --enable-locale"
+ fi
+ try autoconf
+ try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} \
+ --enable-syslog $myconf
+ cp Makefile.global Makefile.orig
+ sed -e "s:-O2:${CFLAGS}:" \
+ Makefile.orig > Makefile.global
+ try make
+
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+ dodoc COPYRIGHT HISTORY README register.txt
+ cd ${S}/doc
+ dodoc FAQ* KNOWN_BUGS MISSING_FEATURES README*
+ dodoc TODO internals.ps bug.template
+ dodoc *.tar.gz
+ docinto sgml
+ dodoc src/sgml/*.{sgml,dsl}
+ docinto sgml/ref
+ dodoc src/sgml/ref/*.sgml
+ docinto sgml/graphics
+ dodoc src/graphics/*
+ mv ${D}/usr/doc/postgresql/html ${D}/usr/share/doc/${PF}
+ rm -rf ${D}/usr/doc
+}
+