summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-07-07 11:45:45 +0000
committerSven Wegener <swegener@gentoo.org>2007-07-07 11:45:45 +0000
commit1694229fed089cd6b7f8c0008ff0fa5ecc414613 (patch)
treeae30ac79361e8e8c69e45ed0726bb6a15d7ae7d7 /dev-db
parentstable x86, bug 184382 (diff)
downloadgentoo-2-1694229fed089cd6b7f8c0008ff0fa5ecc414613.tar.gz
gentoo-2-1694229fed089cd6b7f8c0008ff0fa5ecc414613.tar.bz2
gentoo-2-1694229fed089cd6b7f8c0008ff0fa5ecc414613.zip
Version bump.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/opendbx/ChangeLog7
-rw-r--r--dev-db/opendbx/files/digest-opendbx-1.2.33
-rw-r--r--dev-db/opendbx/opendbx-1.2.3.ebuild44
3 files changed, 53 insertions, 1 deletions
diff --git a/dev-db/opendbx/ChangeLog b/dev-db/opendbx/ChangeLog
index b2365e6e3065..96aea2b55195 100644
--- a/dev-db/opendbx/ChangeLog
+++ b/dev-db/opendbx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/opendbx
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/ChangeLog,v 1.5 2007/05/07 19:15:49 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/ChangeLog,v 1.6 2007/07/07 11:45:45 swegener Exp $
+
+*opendbx-1.2.3 (07 Jul 2007)
+
+ 07 Jul 2007; Sven Wegener <swegener@gentoo.org> +opendbx-1.2.3.ebuild:
+ Version bump.
07 May 2007; Sven Wegener <swegener@gentoo.org> -opendbx-1.0.3.ebuild,
-opendbx-1.2.1.ebuild:
diff --git a/dev-db/opendbx/files/digest-opendbx-1.2.3 b/dev-db/opendbx/files/digest-opendbx-1.2.3
new file mode 100644
index 000000000000..d2d1e4fb9718
--- /dev/null
+++ b/dev-db/opendbx/files/digest-opendbx-1.2.3
@@ -0,0 +1,3 @@
+MD5 7700924e9400ae5e19758d947b01b789 opendbx-1.2.3.tar.gz 480438
+RMD160 f6fb1a5a0f44ba02ca735484506dd2497910934d opendbx-1.2.3.tar.gz 480438
+SHA256 6fe30b8627e25099c8ed0ffbabf65169a8a8cf8a512d6f1cf6c22e3802de7678 opendbx-1.2.3.tar.gz 480438
diff --git a/dev-db/opendbx/opendbx-1.2.3.ebuild b/dev-db/opendbx/opendbx-1.2.3.ebuild
new file mode 100644
index 000000000000..e3676126f07f
--- /dev/null
+++ b/dev-db/opendbx/opendbx-1.2.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/opendbx-1.2.3.ebuild,v 1.1 2007/07/07 11:45:45 swegener Exp $
+
+DESCRIPTION="OpenDBX - A database abstraction layer"
+HOMEPAGE="http://www.linuxnetworks.de/opendbx/"
+SRC_URI="http://www.linuxnetworks.de/opendbx/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mysql postgres sqlite sqlite3 doc"
+
+DEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )
+ sqlite? ( <dev-db/sqlite-3 )
+ sqlite3? ( =dev-db/sqlite-3* )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if ! ( use mysql || use postgres || use sqlite || use sqlite3 )
+ then
+ die "Need at least one of mysql, postgres, sqlite and sqlite3 activated!"
+ fi
+}
+
+src_compile() {
+ local backends=""
+
+ use mysql && backends="${backends} mysql"
+ use postgres && backends="${backends} pgsql"
+ use sqlite && backends="${backends} sqlite"
+ use sqlite3 && backends="${backends} sqlite3"
+
+ CPPFLAGS="${CPPFLAGS} -I/usr/include/mysql" \
+ econf --with-backends="${backends}" || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ dodoc AUTHORS ChangeLog README
+ dohtml doc/index.html
+}