summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-11-06 19:24:47 +0000
committerSven Wegener <swegener@gentoo.org>2006-11-06 19:24:47 +0000
commitc4865f0fc338ae0ed479657d485d79f5b846ec84 (patch)
tree242570c468ff1833518f35c81d30f8afb36d2f7e /dev-db
parentStable on Alpha. Bug 153108 (diff)
downloadgentoo-2-c4865f0fc338ae0ed479657d485d79f5b846ec84.tar.gz
gentoo-2-c4865f0fc338ae0ed479657d485d79f5b846ec84.tar.bz2
gentoo-2-c4865f0fc338ae0ed479657d485d79f5b846ec84.zip
Initial commit, ebuild written by me.
(Portage version: 2.1.2_rc1-r4)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/opendbx/ChangeLog10
-rw-r--r--dev-db/opendbx/Manifest16
-rw-r--r--dev-db/opendbx/files/digest-opendbx-1.0.33
-rw-r--r--dev-db/opendbx/metadata.xml9
-rw-r--r--dev-db/opendbx/opendbx-1.0.3.ebuild44
5 files changed, 82 insertions, 0 deletions
diff --git a/dev-db/opendbx/ChangeLog b/dev-db/opendbx/ChangeLog
new file mode 100644
index 000000000000..eac512519e0e
--- /dev/null
+++ b/dev-db/opendbx/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-db/opendbx
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/ChangeLog,v 1.1 2006/11/06 19:24:47 swegener Exp $
+
+*opendbx-1.0.3 (06 Nov 2006)
+
+ 06 Nov 2006; Sven Wegener <swegener@gentoo.org> +metadata.xml,
+ +opendbx-1.0.3.ebuild:
+ Initial commit, ebuild written by me.
+
diff --git a/dev-db/opendbx/Manifest b/dev-db/opendbx/Manifest
new file mode 100644
index 000000000000..1336bfae5642
--- /dev/null
+++ b/dev-db/opendbx/Manifest
@@ -0,0 +1,16 @@
+DIST opendbx-1.0.3.tar.gz 409985 RMD160 3687733748c10b388754f28409c74c27440769ac SHA1 29117138e7136705182a997e5074347c4e95ef62 SHA256 7c102f24c30518f5cadce4a83acfb1971f946836069f7e396a58de4080820a21
+EBUILD opendbx-1.0.3.ebuild 1183 RMD160 b0d08c1ce69cfe8b928fb59ecfbb92144cf3d054 SHA1 68001a12395163f3810b233e2ec06394d5d2ab5c SHA256 1f2d61668a17b1b9aa703ed210807723f8bc4a64ebc988ae8199566b791bfc45
+MD5 530f18013d2e016a7983cf0b13b28766 opendbx-1.0.3.ebuild 1183
+RMD160 b0d08c1ce69cfe8b928fb59ecfbb92144cf3d054 opendbx-1.0.3.ebuild 1183
+SHA256 1f2d61668a17b1b9aa703ed210807723f8bc4a64ebc988ae8199566b791bfc45 opendbx-1.0.3.ebuild 1183
+MISC ChangeLog 276 RMD160 c27d777a656f5fdb038abc7e2c66f2fbc23d20be SHA1 2f85d8e1ec8a0e6aa2e0ef1746f51f41406f56ab SHA256 8525443a59c04b800f850d53fdc732483bba92c8b467e033a3c4cb3aa56dc84e
+MD5 01fffd6fb322456e00b90152255c0dc0 ChangeLog 276
+RMD160 c27d777a656f5fdb038abc7e2c66f2fbc23d20be ChangeLog 276
+SHA256 8525443a59c04b800f850d53fdc732483bba92c8b467e033a3c4cb3aa56dc84e ChangeLog 276
+MISC metadata.xml 270 RMD160 01cecefd41441cf3f8bd37ead6ec864b154be2d7 SHA1 6762f98354ff738ecbe57163b0bbfe9c95dabf15 SHA256 2f9cdcca7aeb9551225d2854c8b3ab2048a1a6c9424b1cceb67db2bd030d4602
+MD5 59ddc43b17320bfa384ade93c548f569 metadata.xml 270
+RMD160 01cecefd41441cf3f8bd37ead6ec864b154be2d7 metadata.xml 270
+SHA256 2f9cdcca7aeb9551225d2854c8b3ab2048a1a6c9424b1cceb67db2bd030d4602 metadata.xml 270
+MD5 069100f21289fd64d26d81666dd599c2 files/digest-opendbx-1.0.3 241
+RMD160 d6ca8603437f5bd075f8fa3f796d25f147a1b3bc files/digest-opendbx-1.0.3 241
+SHA256 d99590bedc59ad0da82e8f0db260e6812bad16c074297c5de39e494419f6aa63 files/digest-opendbx-1.0.3 241
diff --git a/dev-db/opendbx/files/digest-opendbx-1.0.3 b/dev-db/opendbx/files/digest-opendbx-1.0.3
new file mode 100644
index 000000000000..2c98757af7ff
--- /dev/null
+++ b/dev-db/opendbx/files/digest-opendbx-1.0.3
@@ -0,0 +1,3 @@
+MD5 13bed4226f49139cd31ab1d924182879 opendbx-1.0.3.tar.gz 409985
+RMD160 3687733748c10b388754f28409c74c27440769ac opendbx-1.0.3.tar.gz 409985
+SHA256 7c102f24c30518f5cadce4a83acfb1971f946836069f7e396a58de4080820a21 opendbx-1.0.3.tar.gz 409985
diff --git a/dev-db/opendbx/metadata.xml b/dev-db/opendbx/metadata.xml
new file mode 100644
index 000000000000..3b427d26f403
--- /dev/null
+++ b/dev-db/opendbx/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>swegener@gentoo.org</email>
+ <description>Primary Maintainer</description>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-db/opendbx/opendbx-1.0.3.ebuild b/dev-db/opendbx/opendbx-1.0.3.ebuild
new file mode 100644
index 000000000000..25ba8b04729e
--- /dev/null
+++ b/dev-db/opendbx/opendbx-1.0.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/opendbx-1.0.3.ebuild,v 1.1 2006/11/06 19:24:47 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"
+
+DEPEND="mysql? ( dev-db/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
+}