summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/libqb/ChangeLog10
-rw-r--r--sys-cluster/libqb/libqb-0.13.0.ebuild52
-rw-r--r--sys-cluster/libqb/metadata.xml5
3 files changed, 67 insertions, 0 deletions
diff --git a/sys-cluster/libqb/ChangeLog b/sys-cluster/libqb/ChangeLog
new file mode 100644
index 000000000000..c9664d91e650
--- /dev/null
+++ b/sys-cluster/libqb/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-cluster/libqb
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/libqb/ChangeLog,v 1.1 2012/05/16 10:29:46 xarthisius Exp $
+
+*libqb-0.13.0 (16 May 2012)
+
+ 16 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +libqb-0.13.0.ebuild,
+ +metadata.xml:
+ Initial import, ebuild written by me
+
diff --git a/sys-cluster/libqb/libqb-0.13.0.ebuild b/sys-cluster/libqb/libqb-0.13.0.ebuild
new file mode 100644
index 000000000000..5bcb24970f50
--- /dev/null
+++ b/sys-cluster/libqb/libqb-0.13.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/libqb/libqb-0.13.0.ebuild,v 1.1 2012/05/16 10:29:46 xarthisius Exp $
+
+EAPI=4
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils
+
+DESCRIPTION="Library providing high performance logging, tracing, ipc, and poll"
+HOMEPAGE="https://github.com/asalkeld/libqb"
+SRC_URI="http://fedorahosted.org/releases/q/u/quarterback/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc examples static-libs test"
+
+RDEPEND="dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ test? ( dev-libs/check )
+ doc? ( app-doc/doxygen[dot] )"
+
+DOCS=(README.markdown ChangeLog)
+
+src_prepare() {
+ sed -e '/dist_doc_DATA/d' -i Makefile.am || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ use doc && autotools-utils_src_compile doxygen
+}
+
+src_install() {
+ use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/docs/html/")
+ autotools-utils_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.c
+ fi
+}
diff --git a/sys-cluster/libqb/metadata.xml b/sys-cluster/libqb/metadata.xml
new file mode 100644
index 000000000000..55dd68aadc97
--- /dev/null
+++ b/sys-cluster/libqb/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cluster</herd>
+</pkgmetadata>