# ChangeLog for dev-db/hk_classes
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.26 2004/12/07 00:47:10 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.27 2004/12/09 13:59:02 motaboy Exp $
+
+*hk_classes-0.7.2-r1 (09 Dec 2004)
+
+ 09 Dec 2004; Simone Gotti <motaboy@gentoo.org>
+ +hk_classes-0.7.2-r1.ebuild:
+ Use the patch I sent to the author to selectively choose the db plugins to
+ compile depending on the useflag status instead of compiling the plugin also
+ if the flag is disabled but the DB is installed.
*hk_classes-0.7.2 (06 Dec 2004)
MD5 ca08a6d84c496ac6a05c407400365dee hk_classes-0.7.2.ebuild 1197
+MD5 cdfe6b53022d542d448498badc0bbae8 hk_classes-0.7.2-r1.ebuild 1358
MD5 d3f84e0d788c00d119bd13c3ae90713e hk_classes-0.6.2a.ebuild 1645
MD5 7f4424bc053df3dccf12d3f64cb5c8a2 hk_classes-0.7.1.ebuild 1147
MD5 f2adc94bb9ed47a2bae3e1f714d01dac hk_classes-0.7.ebuild 1101
-MD5 c7e68cf240c58cd0ee60ffed87326b34 ChangeLog 4064
+MD5 c759d9ba75bc63cb64dbe6409561a6e1 ChangeLog 4390
MD5 1b6808bbd78c9161f8b7efb090d966f8 metadata.xml 162
+MD5 9a8287b2b5ae901849742e71aed36a1b files/digest-hk_classes-0.7.2-r1 198
MD5 85913ee0452ca03c30bc07640aa4926e files/digest-hk_classes-0.7.1 198
MD5 9a8287b2b5ae901849742e71aed36a1b files/digest-hk_classes-0.7.2 198
MD5 567cad53853adfda1ae7f205966523a8 files/digest-hk_classes-0.6.2a 198
--- /dev/null
+MD5 e7a9210791432a2458e7e174d84d5a0a hk_classes-0.7.2.tar.bz2 536903
+MD5 74fc61d361e2bef8e747a49210aee94a knodapython.tar.bz2 428940
+MD5 074f486c5d7da5fa74445573396617c0 hk_docs-0.7.tar.bz2 2930613
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.7.2-r1.ebuild,v 1.1 2004/12/09 13:59:02 motaboy Exp $
+
+inherit eutils
+
+P_DOCS="hk_docs-0.7"
+
+MY_P=${P/_alpha/-test}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="GUI-independent C++ libraries for database applications, including API documentation and tutorials."
+HOMEPAGE="http://hk-classes.sourceforge.net/"
+SRC_URI="mirror://sourceforge/hk-classes/${MY_P}.tar.bz2
+ mirror://sourceforge/knoda/knodapython.tar.bz2
+ mirror://sourceforge/knoda/${P_DOCS}.tar.bz2"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="mysql postgres sqlite sqlite3 odbc doc"
+
+# At least one of the following is required
+DEPEND="mysql? ( >=dev-db/mysql-3.23.54a )
+ postgres? ( >=dev-db/postgresql-7.3 )
+ sqlite? ( =dev-db/sqlite-2* )
+ sqlite3? ( =dev-db/sqlite-3* )
+ odbc? ( >=dev-db/unixODBC-2.0.6 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PN}-amd64.patch
+}
+
+src_compile() {
+ myconf="$myconf `use_with mysql` `use_with postgres` `use_with odbc` `use_with sqlite` `use_with sqlite3`"
+
+ econf $myconf || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ use doc && dohtml -r ${WORKDIR}/${P_DOCS}/*
+ use doc && dohtml -r ${WORKDIR}/knodapythondoc
+ make DESTDIR=${D} install || die
+}