diff options
-rw-r--r-- | dev-cpp/libpqpp/ChangeLog | 7 | ||||
-rw-r--r-- | dev-cpp/libpqpp/Manifest | 6 | ||||
-rw-r--r-- | dev-cpp/libpqpp/files/digest-libpqpp-4.0-r3 | 1 | ||||
-rw-r--r-- | dev-cpp/libpqpp/libpqpp-4.0-r3.ebuild | 37 |
4 files changed, 48 insertions, 3 deletions
diff --git a/dev-cpp/libpqpp/ChangeLog b/dev-cpp/libpqpp/ChangeLog index ceabdd7a6a0a..05390d159575 100644 --- a/dev-cpp/libpqpp/ChangeLog +++ b/dev-cpp/libpqpp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-cpp/libpqpp # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/ChangeLog,v 1.1 2004/01/16 16:24:09 nakano Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/ChangeLog,v 1.2 2004/01/17 22:12:37 nakano Exp $ + +*libpqpp-4.0-r3 (17 Jan 2004) + + 17 Jan 2004; Masatomo Nakano <nakano@gentoo.org> libpqpp-4.0-r3.ebuild: + Fixed library symlink. *libpqpp-4.0-r2 (16 Jan 2004) diff --git a/dev-cpp/libpqpp/Manifest b/dev-cpp/libpqpp/Manifest index 7207f1d83946..5a4515f965fe 100644 --- a/dev-cpp/libpqpp/Manifest +++ b/dev-cpp/libpqpp/Manifest @@ -1,7 +1,9 @@ -MD5 83d022d0638b99d5d652e61578d204e7 libpqpp-4.0-r2.ebuild 1114 -MD5 c22c513717ccacbd49026199cfcf1ce9 ChangeLog 859 +MD5 e829207efb88de4a4a1cf418cd17b312 ChangeLog 990 MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163 MD5 ee5962ebdb90abd8691a90096e764361 libpqpp-4.0-r1.ebuild 1075 +MD5 6425b1d856e47001e8cf43046ba24b9d libpqpp-4.0-r3.ebuild 1178 +MD5 83d022d0638b99d5d652e61578d204e7 libpqpp-4.0-r2.ebuild 1114 MD5 312b07ad4bf840d75840b7410d48f268 files/digest-libpqpp-4.0-r1 62 MD5 530daffcb76569636aa08cb163318b88 files/libpqpp-4.0-gentoo.patch 3559 MD5 312b07ad4bf840d75840b7410d48f268 files/digest-libpqpp-4.0-r2 62 +MD5 312b07ad4bf840d75840b7410d48f268 files/digest-libpqpp-4.0-r3 62 diff --git a/dev-cpp/libpqpp/files/digest-libpqpp-4.0-r3 b/dev-cpp/libpqpp/files/digest-libpqpp-4.0-r3 new file mode 100644 index 000000000000..b94211985780 --- /dev/null +++ b/dev-cpp/libpqpp/files/digest-libpqpp-4.0-r3 @@ -0,0 +1 @@ +MD5 da71cb79ef45cef55f4bc97a33a0857d libpq++-4.0.tar.gz 25809 diff --git a/dev-cpp/libpqpp/libpqpp-4.0-r3.ebuild b/dev-cpp/libpqpp/libpqpp-4.0-r3.ebuild new file mode 100644 index 000000000000..343f78d437d5 --- /dev/null +++ b/dev-cpp/libpqpp/libpqpp-4.0-r3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/libpqpp-4.0-r3.ebuild,v 1.1 2004/01/17 22:12:37 nakano Exp $ + +MY_P=${P/pp/++} +DESCRIPTION="C++ wrapper for the libpq Postgresql library" +HOMEPAGE="http://gborg.postgresql.org/" +SRC_URI="ftp://gborg.postgresql.org/pub/libpqpp/stable/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="virtual/glibc >=dev-db/postgresql-7.3" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_compile() { + cp Makefile Makefile.backup + sed -i "s|\$(POSTGRES_HOME)/lib|/usr/lib/postgresql|g" Makefile || die + sed -i "s|\$(POSTGRES_HOME)/include|/usr/include/postgresql|g" Makefile || die + emake || die + cp Makefile.backup Makefile +} + +src_install() { + sed -i "s|ln -s \$(POSTGRES_HOME)/lib/|ln -s |" Makefile || die + sed -i "s|\$(POSTGRES_HOME)/lib|${D}/usr/lib/postgresql|" Makefile || die + sed -i "s|\$(POSTGRES_HOME)/include|${D}/usr/include/postgresql|g" Makefile || die + dodir /usr/lib/postgresql /usr/include/postgresql + einstall || die "Install failed" +} |