summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-20 21:16:21 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-20 21:16:21 +0000
commit6a33a449bf48d9d1e69b17a529b38aded4979fb6 (patch)
tree90d8ba857a3db56fa6c450be92787ad5274f7816 /dev-db/libdrizzle
parentVersion bump, many fixes/changes leading to a 4.8 release (diff)
downloadgentoo-2-6a33a449bf48d9d1e69b17a529b38aded4979fb6.tar.gz
gentoo-2-6a33a449bf48d9d1e69b17a529b38aded4979fb6.tar.bz2
gentoo-2-6a33a449bf48d9d1e69b17a529b38aded4979fb6.zip
Initial import, thanks again to Pavel Stratil. New dependency for gearmand[drizzle].
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/libdrizzle')
-rw-r--r--dev-db/libdrizzle/ChangeLog11
-rw-r--r--dev-db/libdrizzle/libdrizzle-0.6.ebuild45
-rw-r--r--dev-db/libdrizzle/metadata.xml19
3 files changed, 75 insertions, 0 deletions
diff --git a/dev-db/libdrizzle/ChangeLog b/dev-db/libdrizzle/ChangeLog
new file mode 100644
index 000000000000..ef0d39b3c750
--- /dev/null
+++ b/dev-db/libdrizzle/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-db/libdrizzle
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libdrizzle/ChangeLog,v 1.1 2009/12/20 21:16:21 flameeyes Exp $
+
+*libdrizzle-0.6 (20 Dec 2009)
+
+ 20 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +libdrizzle-0.6.ebuild, +metadata.xml:
+ Initial import, thanks again to Pavel Stratil. New dependency for
+ gearmand[drizzle].
+
diff --git a/dev-db/libdrizzle/libdrizzle-0.6.ebuild b/dev-db/libdrizzle/libdrizzle-0.6.ebuild
new file mode 100644
index 000000000000..b70c039e71e7
--- /dev/null
+++ b/dev-db/libdrizzle/libdrizzle-0.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libdrizzle/libdrizzle-0.6.ebuild,v 1.1 2009/12/20 21:16:21 flameeyes Exp $
+
+EAPI=2
+
+DESCRIPTION="a C client and protocol library for the Drizzle project"
+HOMEPAGE="http://launchpad.net/libdrizzle"
+SRC_URI="http://launchpad.net/libdrizzle/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug tcmalloc +sqlite"
+
+RDEPEND="tcmalloc? ( dev-util/google-perftools )
+ sqlite? ( dev-db/sqlite:3 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ # Don't ever use --enable-assert since configure.ac is broken, and
+ # only does --disable-assert correctly.
+ if use debug; then
+ # Since --with-debug would turn off optimisations as well as
+ # enabling debug, we just enable debug through the
+ # preprocessor then.
+ append-flags -DDEBUG
+
+ # Right now disabling asserts break the code, so never disable
+ # them as it is.
+ #else
+ # myconf="${myconf} --disable-assert"
+ fi
+
+ econf \
+ --disable-dependency-tracking \
+ --disable-mtmalloc \
+ $(use_enable tcmalloc) \
+ $(use_enable libsqlite3)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS PROTOCOL README || die
+}
diff --git a/dev-db/libdrizzle/metadata.xml b/dev-db/libdrizzle/metadata.xml
new file mode 100644
index 000000000000..0f44d716ea93
--- /dev/null
+++ b/dev-db/libdrizzle/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>flameeyes@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>pavel.stratil-jun@fenix.cz</email>
+ <description>Proxied co-maintainer, CC on all bugs</description>
+ </maintainer>
+
+ <use>
+ <flag name="tcmalloc">
+ Use the <pkg>dev-util/google-perftools</pkg> libraries to
+ replace the malloc() implementation with a possibly faster one.
+ </flag>
+ </use>
+</pkgmetadata>