diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-04-04 19:51:27 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-04-04 19:51:27 +0000 |
commit | 3a9915c4daf524929a06f878fd147993d0f6f819 (patch) | |
tree | 80a878d7ed1310be49be087d31eee91ad434baad /dev-db/pgeasy | |
parent | new release of "file" (diff) | |
download | historical-3a9915c4daf524929a06f878fd147993d0f6f819.tar.gz historical-3a9915c4daf524929a06f878fd147993d0f6f819.tar.bz2 historical-3a9915c4daf524929a06f878fd147993d0f6f819.zip |
initial import... this used to be part of postgresql.
Diffstat (limited to 'dev-db/pgeasy')
-rw-r--r-- | dev-db/pgeasy/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/pgeasy/files/Makefile-gentoo.patch | 9 | ||||
-rw-r--r-- | dev-db/pgeasy/files/digest-pgeasy-3.0.1 | 1 | ||||
-rw-r--r-- | dev-db/pgeasy/pgeasy-3.0.1.ebuild | 35 |
4 files changed, 55 insertions, 0 deletions
diff --git a/dev-db/pgeasy/ChangeLog b/dev-db/pgeasy/ChangeLog new file mode 100644 index 000000000000..c0f5e5d65d05 --- /dev/null +++ b/dev-db/pgeasy/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-db/pgeasy +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgeasy/ChangeLog,v 1.1 2003/04/04 19:51:27 mkennedy Exp $ + +*pgeas-3.0.1 (04 Apr 2003) + + 04 Apr 2003; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog, + pgeasy-3.0.1.ebuild, files/digest-pgeasy-3.0.1 : + + Initial import. diff --git a/dev-db/pgeasy/files/Makefile-gentoo.patch b/dev-db/pgeasy/files/Makefile-gentoo.patch new file mode 100644 index 000000000000..39e54c465a5a --- /dev/null +++ b/dev-db/pgeasy/files/Makefile-gentoo.patch @@ -0,0 +1,9 @@ +--- Makefile.orig 2003-04-04 13:23:27.000000000 -0600 ++++ Makefile 2003-04-04 13:25:14.000000000 -0600 +@@ -33,5 +33,5 @@ + install: + install $(soname) $(POSTGRES_HOME)/lib + rm -f $(POSTGRES_HOME)/lib/$(TARGET).so +- ln -s $(POSTGRES_HOME)/lib/$(soname) $(POSTGRES_HOME)/lib/$(TARGET).so + install -c $(TARGET).h $(POSTGRES_HOME)/include ++ cd ${POSTGRES_HOME}/lib && ln -s $(soname) $(TARGET).so diff --git a/dev-db/pgeasy/files/digest-pgeasy-3.0.1 b/dev-db/pgeasy/files/digest-pgeasy-3.0.1 new file mode 100644 index 000000000000..4ebabc75bbc3 --- /dev/null +++ b/dev-db/pgeasy/files/digest-pgeasy-3.0.1 @@ -0,0 +1 @@ +MD5 6a50fac1231aad1a32215664ca186552 pgeasy-3.0.1.tar.gz 6977 diff --git a/dev-db/pgeasy/pgeasy-3.0.1.ebuild b/dev-db/pgeasy/pgeasy-3.0.1.ebuild new file mode 100644 index 000000000000..8bbf518e8be4 --- /dev/null +++ b/dev-db/pgeasy/pgeasy-3.0.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgeasy/pgeasy-3.0.1.ebuild,v 1.1 2003/04/04 19:51:27 mkennedy Exp $ + +DESCRIPTION="An easy-to-use C interface to PostgreSQL." +HOMEPAGE="http://gborg.postgresql.org/project/pgeasy/projdisplay.php" +SRC_URI="ftp://gborg.postgresql.org/pub/pgeasy/stable/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-db/postgresql-7.3.2" + +S=${WORKDIR}/${P} + +src_unpack() { + unpack ${A} + cd ${S} && patch -p0 <${FILESDIR}/Makefile-gentoo.patch || die +} + +src_compile() { + make POSTGRES_HOME=/usr CFLAGS="${CFLAGS}" || die +} + +src_install() { + dodir /usr/lib + dodir /usr/include + make POSTGRES_HOME=${D}/usr install || die + dodoc CHANGES README + dohtml docs/*.html + cp -r examples ${D}/usr/share/doc/${P}/ +} + +# Notes: pgeasy won't build static libraries |