diff options
author | Masatomo Nakano <nakano@gentoo.org> | 2004-01-18 00:24:43 +0000 |
---|---|---|
committer | Masatomo Nakano <nakano@gentoo.org> | 2004-01-18 00:24:43 +0000 |
commit | 2a4b157db1ab421789e4d5ff2acaae99e9b1b3c4 (patch) | |
tree | 65f471c5d59fb010bd61bf243cc5de3b3ae5b9f0 /dev-cpp/libpqpp | |
parent | Fixed include path. (Manifest recommit) (diff) | |
download | gentoo-2-2a4b157db1ab421789e4d5ff2acaae99e9b1b3c4.tar.gz gentoo-2-2a4b157db1ab421789e4d5ff2acaae99e9b1b3c4.tar.bz2 gentoo-2-2a4b157db1ab421789e4d5ff2acaae99e9b1b3c4.zip |
Fixed install path.
Diffstat (limited to 'dev-cpp/libpqpp')
-rw-r--r-- | dev-cpp/libpqpp/ChangeLog | 7 | ||||
-rw-r--r-- | dev-cpp/libpqpp/files/digest-libpqpp-4.0-r4 | 1 | ||||
-rw-r--r-- | dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild | 37 |
3 files changed, 44 insertions, 1 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/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" +} |