summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2005-06-27 20:18:22 +0000
committerCarsten Lohrke <carlo@gentoo.org>2005-06-27 20:18:22 +0000
commit6d87e528c9f5dc7e2065db0f55e1d7ff2f701a52 (patch)
tree00af57e27c6f06f05e338a80cb952e49157c04ed /dev-db/hk_classes
parentStable on sparc (diff)
downloadhistorical-6d87e528c9f5dc7e2065db0f55e1d7ff2f701a52.tar.gz
historical-6d87e528c9f5dc7e2065db0f55e1d7ff2f701a52.tar.bz2
historical-6d87e528c9f5dc7e2065db0f55e1d7ff2f701a52.zip
version bump
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-db/hk_classes')
-rw-r--r--dev-db/hk_classes/ChangeLog8
-rw-r--r--dev-db/hk_classes/Manifest15
-rw-r--r--dev-db/hk_classes/files/digest-hk_classes-0.7.42
-rw-r--r--dev-db/hk_classes/files/hk_classes-0.7.4-amd64.patch117
-rw-r--r--dev-db/hk_classes/hk_classes-0.7.4.ebuild69
5 files changed, 199 insertions, 12 deletions
diff --git a/dev-db/hk_classes/ChangeLog b/dev-db/hk_classes/ChangeLog
index 4a06dd71a529..839c13154a8f 100644
--- a/dev-db/hk_classes/ChangeLog
+++ b/dev-db/hk_classes/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/hk_classes
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.33 2005/05/06 09:47:02 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.34 2005/06/27 20:16:55 carlo Exp $
+
+*hk_classes-0.7.4 (27 Jun 2005)
+
+ 27 Jun 2005; Carsten Lohrke <carlo@gentoo.org>
+ +files/hk_classes-0.7.4-amd64.patch, +hk_classes-0.7.4.ebuild:
+ version bump
06 May 2005; Sven Wegener <swegener@gentoo.org> hk_classes-0.7.2.ebuild:
Removed * postfix from <, <=, >= and > dependencies.
diff --git a/dev-db/hk_classes/Manifest b/dev-db/hk_classes/Manifest
index d236b9eb4547..3ef5ff60a4a4 100644
--- a/dev-db/hk_classes/Manifest
+++ b/dev-db/hk_classes/Manifest
@@ -1,26 +1,19 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 fb3260dbb9853ebdaa2fb00cc70b6d9b hk_classes-0.7.2.ebuild 1199
MD5 832936c67b88303fdf3252f71fd1476b hk_classes-0.7.2-r1.ebuild 1486
MD5 e708185e31fbf1b071be94f4b3ba5f57 hk_classes-0.6.2a.ebuild 1647
+MD5 549eb3a1ff1b6a757056b09951efae96 hk_classes-0.7.4.ebuild 1828
MD5 5626f8e0e7fc410ca9b10fa91aaa29df hk_classes-0.7.1.ebuild 1146
MD5 2dcc319450160699603ac7c4903c9466 hk_classes-0.7.ebuild 1106
MD5 227492cacb1ac7af3bbca40a78095698 hk_classes-0.7.3.ebuild 1482
-MD5 b69cb6049f6deda80ab9e46594743490 ChangeLog 5067
+MD5 203108552f094ad631c5cfb35f0fa82b ChangeLog 5230
MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
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 24b5944ef78b0d8aa0111b2008467175 files/digest-hk_classes-0.7.3 198
+MD5 6b7976ee6a0bb9e2480836fedd9a0e88 files/digest-hk_classes-0.7.4 157
MD5 d814ff5d08373a9f2aae3023ada1503c files/hk_classes-0.7.3-amd64.patch 2749
MD5 567cad53853adfda1ae7f205966523a8 files/digest-hk_classes-0.6.2a 198
MD5 3986d92d3fe87dfac8646b3527e465cb files/hk_classes-amd64.patch 2569
+MD5 6d1cdb63ba68017fa4a1c5cf47a08324 files/hk_classes-0.7.4-amd64.patch 5032
MD5 63250076b187f1feb6dd60af946bf54b files/digest-hk_classes-0.7 196
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCez0oI1lqEGTUzyQRAji6AJ9wd+PaSdSonI0Ve3z8/tgM9T5qXACgz4ni
-sfMvnj2/bzQmcGtIQL2kLIs=
-=Y5wW
------END PGP SIGNATURE-----
diff --git a/dev-db/hk_classes/files/digest-hk_classes-0.7.4 b/dev-db/hk_classes/files/digest-hk_classes-0.7.4
new file mode 100644
index 000000000000..7c01d9bad7fb
--- /dev/null
+++ b/dev-db/hk_classes/files/digest-hk_classes-0.7.4
@@ -0,0 +1,2 @@
+MD5 5bab6d78343120478ec93bbd47e02f3a hk_classes-0.7.4.tar.bz2 725413
+MD5 63b9ed91c3ea48255da83134f33271a2 hk_classes-htmldocumentation-0.7.3.tar.bz2 2915937
diff --git a/dev-db/hk_classes/files/hk_classes-0.7.4-amd64.patch b/dev-db/hk_classes/files/hk_classes-0.7.4-amd64.patch
new file mode 100644
index 000000000000..e1f49d0c7ddf
--- /dev/null
+++ b/dev-db/hk_classes/files/hk_classes-0.7.4-amd64.patch
@@ -0,0 +1,117 @@
+diff -Naur hk_classes-0.7.orig/hk_classes/Makefile.am hk_classes-0.7/hk_classes/Makefile.am
+--- hk_classes-0.7.orig/hk_classes/Makefile.am 2004-06-20 15:48:48.000000000 +0200
++++ hk_classes-0.7/hk_classes/Makefile.am 2004-11-21 23:10:13.670882088 +0100
+@@ -1,7 +1,7 @@
+ libdir=@HK_CLASSESDIR@
+ includedir=@HK_CLASSESINCDIR@
+ libhk_classes_la_LDFLAGS = -version-info 8:0:0 @LTLIBICONV@
+-AM_CXXFLAGS= -Wall @PYTHONINC@
++AM_CXXFLAGS= -Wall @PYTHONINC@ -fPIC
+
+ SUBDIRS = .
+
+diff -Naur hk_classes-0.7.orig/hk_firebirdclasses/Makefile.am hk_classes-0.7/hk_firebirdclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_firebirdclasses/Makefile.am 2005-05-26 19:39:09.000000000 +0100
++++ hk_classes-0.7/hk_firebirdclasses/Makefile.am 2005-05-29 15:50:34.000000000 +0100
+@@ -3,7 +3,7 @@
+
+ AM_CPPFLAGS=
+
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_firebirddriver_la_LDFLAGS = -version-info 0:0:0 -lfbclient -L@HK_CLASSESDIR@ -L@FIREBIRDLIBDIR@ -lhk_classes
+
+diff -Naur hk_classes-0.7.orig/hk_mdbclasses/Makefile.am hk_classes-0.7/hk_mdbclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_mdbclasses/Makefile.am 2005-03-27 17:33:44.000000000 +0100
++++ hk_classes-0.7/hk_mdbclasses/Makefile.am 2005-05-29 15:53:39.000000000 +0100
+@@ -3,7 +3,7 @@
+
+ AM_CPPFLAGS=$(GLIB_CFLAGS)
+
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_mdbdriver_la_LDFLAGS = -version-info 0:0:0 -lmdb -lmdbsql -L../hk_classes -L@MDBLIBDIR@ $(GLIB_LIBADD) -lhk_classes
+
+diff -Naur hk_classes-0.7.orig/hk_mysqlclasses/Makefile.am hk_classes-0.7/hk_mysqlclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_mysqlclasses/Makefile.am 2003-05-22 20:27:14.000000000 +0200
++++ hk_classes-0.7/hk_mysqlclasses/Makefile.am 2004-11-21 23:10:19.127052624 +0100
+@@ -1,7 +1,7 @@
+ libdir=@HK_CLASSESDIR@/drivers
+ INCLUDES= -I../hk_classes -I@MYSQLINCDIR@
+
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_mysqldriver_la_LDFLAGS = -version-info 3:4:0 -lmysqlclient -L../hk_classes -L@MYSQLLIBDIR@ -lhk_classes
+
+diff -Naur hk_classes-0.7.orig/hk_odbcclasses/Makefile.am hk_classes-0.7/hk_odbcclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_odbcclasses/Makefile.am 2003-05-22 20:27:14.000000000 +0200
++++ hk_classes-0.7/hk_odbcclasses/Makefile.am 2004-11-21 23:10:24.672209632 +0100
+@@ -1,6 +1,6 @@
+ libdir=@HK_CLASSESDIR@/drivers
+ INCLUDES= -I../hk_classes -I@ODBCINCDIR@
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_odbcdriver_la_LDFLAGS = -version-info 0:0:0 -l@ODBCLIBRARY@ -L@ODBCLIBDIR@ -lhk_classes -L../hk_classes
+
+diff -Naur hk_classes-0.7.orig/hk_paradoxclasses/Makefile.am hk_classes-0.7/hk_paradoxclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_paradoxclasses/Makefile.am 2005-05-05 14:56:52.000000000 +0100
++++ hk_classes-0.7/hk_paradoxclasses/Makefile.am 2005-05-29 15:59:07.000000000 +0100
+@@ -3,7 +3,7 @@
+
+ AM_CPPFLAGS=
+
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_paradoxdriver_la_LDFLAGS = -version-info 0:0:0 -lpx -L../hk_classes -L@PARADOXLIBDIR@ -lhk_classes
+
+diff -Naur hk_classes-0.7.orig/hk_postgresclasses/Makefile.am hk_classes-0.7/hk_postgresclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_postgresclasses/Makefile.am 2003-05-22 20:27:11.000000000 +0200
++++ hk_classes-0.7/hk_postgresclasses/Makefile.am 2004-11-21 23:11:02.304488656 +0100
+@@ -1,6 +1,7 @@
+ libdir=@HK_CLASSESDIR@/drivers
+ INCLUDES= -I../hk_classes -I@POSTGRESINCDIR@
+
++AM_CXXFLAGS= -fPIC
+
+ libhk_postgresdriver_la_LDFLAGS = -version-info 0:1:0 -lpq -lhk_classes -L../hk_classes -L@POSTGRESLIBDIR@
+
+diff -Naur hk_classes-0.7.orig/hk_sqlite3classes/Makefile.am hk_classes-0.7/hk_sqlite3classes/Makefile.am
+--- hk_classes-0.7.orig/hk_sqlite3classes/Makefile.am 2004-10-07 17:24:02.000000000 +0100
++++ hk_classes-0.7/hk_sqlite3classes/Makefile.am 2005-05-29 16:02:44.000000000 +0100
+@@ -1,7 +1,7 @@
+ libdir=@HK_CLASSESDIR@/drivers
+ INCLUDES= -I../hk_classes -I@SQLITE3INCDIR@
+
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_sqlite3driver_la_LDFLAGS = -version-info 0:0:0 -lsqlite3 -L../hk_classes -L@SQLITE3LIBDIR@ -lhk_classes
+
+diff -Naur hk_classes-0.7.orig/hk_sqliteclasses/Makefile.am hk_classes-0.7/hk_sqliteclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_sqliteclasses/Makefile.am 2004-07-11 10:04:53.000000000 +0200
++++ hk_classes-0.7/hk_sqliteclasses/Makefile.am 2004-11-21 23:11:09.117452928 +0100
+@@ -1,7 +1,7 @@
+ libdir=@HK_CLASSESDIR@/drivers
+ INCLUDES= -I../hk_classes -I@SQLITEINCDIR@
+
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_sqlite2driver_la_LDFLAGS = -version-info 0:0:0 -lsqlite -L../hk_classes -L@SQLITELIBDIR@ -lhk_classes
+
+diff -Naur hk_classes-0.7.orig/hk_xbaseclasses/Makefile.am hk_classes-0.7/hk_xbaseclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_xbaseclasses/Makefile.am 2005-04-10 10:55:26.000000000 +0100
++++ hk_classes-0.7/hk_xbaseclasses/Makefile.am 2005-05-29 16:05:47.000000000 +0100
+@@ -3,7 +3,7 @@
+
+ AM_CPPFLAGS=
+
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_xbasedriver_la_LDFLAGS = -version-info 0:0:0 -lxbsql -L../hk_classes -L@XBASELIBDIR@ -lhk_classes
diff --git a/dev-db/hk_classes/hk_classes-0.7.4.ebuild b/dev-db/hk_classes/hk_classes-0.7.4.ebuild
new file mode 100644
index 000000000000..b4cdc1ae5894
--- /dev/null
+++ b/dev-db/hk_classes/hk_classes-0.7.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2005 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.4.ebuild,v 1.1 2005/06/27 20:16:55 carlo Exp $
+
+inherit eutils python
+
+P_DOCS="hk_classes-htmldocumentation-0.7.3"
+
+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
+ doc? ( mirror://sourceforge/knoda/${P_DOCS}.tar.bz2 )"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~ppc ~amd64 ~sparc"
+IUSE="doc firebird mysql odbc postgres sqlite sqlite3"
+
+# pxlib is not in portage yet, but there's no reason not add paradox
+# (readonly) support by request - speak: if you really need it
+
+# with mdb and xbase will be dealt in another revision
+
+DEPEND="firebird? ( dev-db/firebird )
+ 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}/${P}-amd64.patch
+
+ if use doc ; then
+ cd ${WORKDIR}
+ local docdirs="`ls -1`"
+ mkdir ${P_DOCS}
+ for I in "${docdirs/${P}/}" ; do
+ mv ${I} ${P_DOCS}
+ done
+ find ${P_DOCS} -iname CVS -type d -exec rm -rf '{}' \; 2> /dev/null
+ fi
+}
+
+src_compile() {
+ python_version
+ export LIBPYTHON="-lpython${PYVER} -lz"
+
+ myconf="--with-pythondir=/usr/$(get_libsir)/python${PYVER}/\
+ `use_with mysql`\
+ `use_with firebird`\
+ `use_with odbc`\
+ `use_with postgres`\
+ `use_with sqlite`\
+ `use_with sqlite3`\
+ --without-mdb --without-paradox --without-xbase"
+
+ econf ${myconf} || die "econf failed"
+ emake || die "make failes"
+}
+
+src_install() {
+ use doc && dohtml -r ${WORKDIR}/${P_DOCS}/*
+ make DESTDIR=${D} install || die "make install failed"
+}