diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2003-04-23 13:36:23 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2003-04-23 13:36:23 +0000 |
commit | 8ddc65c708a5b5e78a020cf3c9e1a86e11f30216 (patch) | |
tree | 5cb9693e5f7bbc4c3363b32dfe6310c211523044 /dev-db/hk_classes | |
parent | fcpwrap bug fix (diff) | |
download | gentoo-2-8ddc65c708a5b5e78a020cf3c9e1a86e11f30216.tar.gz gentoo-2-8ddc65c708a5b5e78a020cf3c9e1a86e11f30216.tar.bz2 gentoo-2-8ddc65c708a5b5e78a020cf3c9e1a86e11f30216.zip |
Initial import. Needed for knode
Diffstat (limited to 'dev-db/hk_classes')
-rw-r--r-- | dev-db/hk_classes/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/hk_classes/Manifest | 3 | ||||
-rw-r--r-- | dev-db/hk_classes/files/digest-hk_classes-0.5.6 | 1 | ||||
-rw-r--r-- | dev-db/hk_classes/hk_classes-0.5.6.ebuild | 40 |
4 files changed, 53 insertions, 0 deletions
diff --git a/dev-db/hk_classes/ChangeLog b/dev-db/hk_classes/ChangeLog new file mode 100644 index 000000000000..0b59e4c394cc --- /dev/null +++ b/dev-db/hk_classes/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-db/hk_classes +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.1 2003/04/23 13:36:11 pauldv Exp $ + +*hk_classes-0.5.6 (23 Apr 2003) + + 23 Apr 2003; Paul de Vrieze pauldv@gentoo.org hk_classes-0.5.6.ebuild: + Initial import, courtessy of Peter Ruskin <aoyu93@dsl.pipex.com> + diff --git a/dev-db/hk_classes/Manifest b/dev-db/hk_classes/Manifest new file mode 100644 index 000000000000..ead8b3e6dc69 --- /dev/null +++ b/dev-db/hk_classes/Manifest @@ -0,0 +1,3 @@ +MD5 cedde5d6f4c0c43cb7b4421db4480b02 hk_classes-0.5.6.ebuild 1369 +MD5 3907f30f0bae088586bb6e184b84c7c4 ChangeLog 390 +MD5 c5cc0649329cd6cc89fa51050ff34840 files/digest-hk_classes-0.5.6 68 diff --git a/dev-db/hk_classes/files/digest-hk_classes-0.5.6 b/dev-db/hk_classes/files/digest-hk_classes-0.5.6 new file mode 100644 index 000000000000..a4386e322f8a --- /dev/null +++ b/dev-db/hk_classes/files/digest-hk_classes-0.5.6 @@ -0,0 +1 @@ +MD5 4b587961f0187b4810e2c44e3fdcc8bf hk_classes-0.5.6.tar.gz 355148 diff --git a/dev-db/hk_classes/hk_classes-0.5.6.ebuild b/dev-db/hk_classes/hk_classes-0.5.6.ebuild new file mode 100644 index 000000000000..aabd45113386 --- /dev/null +++ b/dev-db/hk_classes/hk_classes-0.5.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.5.6.ebuild,v 1.1 2003/04/23 13:36:11 pauldv Exp $ + +DESCRIPTION="GUI-independent C++ libraries for database applications" +HOMEPAGE="http://hk-classes.sourceforge.net/" +SRC_URI="http://belnet.dl.sourceforge.net/sourceforge/hk-classes/${P}.tar.gz" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="mysql postgres odbc" + +# At least one of the following is required +DEPEND="|| ( mysql? ( >=dev-db/mysql-3.23.54a ) + postgres? ( >=dev-db/postgresql-7.3 ) + odbc? ( >=dev-db/unixODBC-2.0.6 ) )" + +S=${WORKDIR}/${P} + +src_compile() { + local myconf + myconf="--host=${CHOST} --prefix=/usr/lib/hk_classes \ + --with-hk_classes-incdir=/usr/include/hk_classes \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man" + + use mysql && myconf="${myconf} --with-mysql-incdir=/usr/include/mysql \ + --with-mysql-libdir=/usr/lib/mysql" + use postgres && myconf="${myconf} --with-postgres-incdir=/usr/include/postgresql \ + --with-postgres-libdir=/usr/lib/postgresql" + use odbc && myconf="${myconf} --with-odbc-incdir=/usr/include \ + --with-odbc-libdir=/usr/lib" + + ./configure ${myconf} || die "./configure failed" + emake || die +} + +src_install() { + make DESTDIR=${D} install || die +} |