diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-09-11 21:01:28 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-09-11 21:01:28 +0000 |
commit | c8ad8355db2a52755eb7764a6b747f40c0a9b71d (patch) | |
tree | 9e12cd92912a84b99734307be18a2371f617b8de /dev-db | |
parent | Keywording for ppc. (diff) | |
download | gentoo-2-c8ad8355db2a52755eb7764a6b747f40c0a9b71d.tar.gz gentoo-2-c8ad8355db2a52755eb7764a6b747f40c0a9b71d.tar.bz2 gentoo-2-c8ad8355db2a52755eb7764a6b747f40c0a9b71d.zip |
Bump, closes #248979
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mysql++/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/mysql++/mysql++-3.0.9.ebuild | 52 |
2 files changed, 59 insertions, 2 deletions
diff --git a/dev-db/mysql++/ChangeLog b/dev-db/mysql++/ChangeLog index 1744b226a875..de6ffb0f41b5 100644 --- a/dev-db/mysql++/ChangeLog +++ b/dev-db/mysql++/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/mysql++ -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/ChangeLog,v 1.60 2008/11/29 10:58:21 tcunha Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/ChangeLog,v 1.61 2009/09/11 21:01:28 patrick Exp $ + +*mysql++-3.0.9 (11 Sep 2009) + + 11 Sep 2009; Patrick Lauer <patrick@gentoo.org> +mysql++-3.0.9.ebuild: + Bump, closes #248979 29 Nov 2008; Tiago Cunha <tcunha@gentoo.org> mysql++-2.3.2.ebuild: stable sparc, bug 245569 diff --git a/dev-db/mysql++/mysql++-3.0.9.ebuild b/dev-db/mysql++/mysql++-3.0.9.ebuild new file mode 100644 index 000000000000..9cd9f565045c --- /dev/null +++ b/dev-db/mysql++/mysql++-3.0.9.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-3.0.9.ebuild,v 1.1 2009/09/11 21:01:28 patrick Exp $ + +inherit eutils + +DESCRIPTION="C++ API interface to the MySQL database" +HOMEPAGE="http://tangentsoft.net/mysql++/" +SRC_URI="http://www.tangentsoft.net/mysql++/releases/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=virtual/mysql-4.0" +DEPEND="${RDEPEND} + >=sys-devel/gcc-3" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Not needed anymore, patch target is gone + #epatch "${FILESDIR}"/${PN}-2.3.2-gcc-4.3.patch + + for i in "${S}"/lib/*.h ; do + sed -i \ + -e '/#include </s,mysql.h,mysql/mysql.h,g' \ + -e '/#include </s,mysql_version.h,mysql/mysql_version.h,g' \ + "${i}" || die "Failed to sed ${i} for fixing MySQL includes" + done +} + +src_compile() { + local myconf + myconf="--enable-thread-check" + + CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + econf ${myconf} || die "econf failed" + + emake || die "unable to make" +} + +src_install() { + emake DESTDIR="${D}" install || die + # install the docs and HTML pages + dodoc README* CREDITS* ChangeLog HACKERS Wishlist + dodoc doc/* + cp -ra doc/html "${D}"/usr/share/doc/${PF}/html + prepalldocs +} |