summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2004-01-18 00:24:43 +0000
committerMasatomo Nakano <nakano@gentoo.org>2004-01-18 00:24:43 +0000
commit31e864125a753110f2a65b9321a2e0e949796e5f (patch)
treea14b1d1bac073bcd2371db81eff09a5f2e66e825 /dev-cpp
parentFixed include path. (diff)
downloadhistorical-31e864125a753110f2a65b9321a2e0e949796e5f.tar.gz
historical-31e864125a753110f2a65b9321a2e0e949796e5f.tar.bz2
historical-31e864125a753110f2a65b9321a2e0e949796e5f.zip
Fixed install path.
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libpqpp/ChangeLog7
-rw-r--r--dev-cpp/libpqpp/Manifest4
-rw-r--r--dev-cpp/libpqpp/files/digest-libpqpp-4.0-r41
-rw-r--r--dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild37
4 files changed, 47 insertions, 2 deletions
diff --git a/dev-cpp/libpqpp/ChangeLog b/dev-cpp/libpqpp/ChangeLog
index 05390d159575..b9c6a9f04994 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.2 2004/01/17 22:12:37 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/ChangeLog,v 1.3 2004/01/18 00:24:40 nakano Exp $
+
+*libpqpp-4.0-r4 (18 Jan 2004)
+
+ 18 Jan 2004; Masatomo Nakano <nakano@gentoo.org> libpqpp-4.0-r4.ebuild:
+ Fixed install path.
*libpqpp-4.0-r3 (17 Jan 2004)
diff --git a/dev-cpp/libpqpp/Manifest b/dev-cpp/libpqpp/Manifest
index 5a4515f965fe..d2d516d8575d 100644
--- a/dev-cpp/libpqpp/Manifest
+++ b/dev-cpp/libpqpp/Manifest
@@ -1,4 +1,5 @@
-MD5 e829207efb88de4a4a1cf418cd17b312 ChangeLog 990
+MD5 dcd4d877bf3b8524bde3446e8207b14e libpqpp-4.0-r4.ebuild 1134
+MD5 f6a983dceb1d2a525646b3323f9bacda ChangeLog 1118
MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
MD5 ee5962ebdb90abd8691a90096e764361 libpqpp-4.0-r1.ebuild 1075
MD5 6425b1d856e47001e8cf43046ba24b9d libpqpp-4.0-r3.ebuild 1178
@@ -7,3 +8,4 @@ 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
+MD5 312b07ad4bf840d75840b7410d48f268 files/digest-libpqpp-4.0-r4 62
diff --git a/dev-cpp/libpqpp/files/digest-libpqpp-4.0-r4 b/dev-cpp/libpqpp/files/digest-libpqpp-4.0-r4
new file mode 100644
index 000000000000..b94211985780
--- /dev/null
+++ b/dev-cpp/libpqpp/files/digest-libpqpp-4.0-r4
@@ -0,0 +1 @@
+MD5 da71cb79ef45cef55f4bc97a33a0857d libpq++-4.0.tar.gz 25809
diff --git a/dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild b/dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild
new file mode 100644
index 000000000000..d58d846121fc
--- /dev/null
+++ b/dev-cpp/libpqpp/libpqpp-4.0-r4.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-r4.ebuild,v 1.1 2004/01/18 00:24:41 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|g" Makefile || die
+ sed -i "s|\$(POSTGRES_HOME)/include|/usr/include|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|" Makefile || die
+ sed -i "s|\$(POSTGRES_HOME)/include|${D}/usr/include|g" Makefile || die
+ dodir /usr/lib/postgresql /usr/include/postgresql
+ einstall || die "Install failed"
+}