Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sys-cluster/libqb/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST libqb-2.0.10-9244e63.tar.gz 240158 BLAKE2B d0683f005b5be2a520431a411f43c380ddd83929926f70f48cd1f4f22710d8f7b9379d655a1045eda58020eea31c345536aa9706abf9b9a71025425b1dabf217 SHA512 36101fbe60e4248b0f84cee64d20de861de777e77bfe7f9199f3e136ba4e84a76150a7e8a1e7d06a58a63162549ab4e1efdd724a98b212876b967cbe5f66ba86
DIST libqb-2.0.9-4b496d0.tar.gz 240056 BLAKE2B 5fd3e6b3f16df6d114c8c23ad5088bc8e683b2310c5b5a5d66ba44bf2a30644c2f4867f60bf727c1e352aedade10fbd7917afd7c7adc0f6804a52244eef9a4ea SHA512 15d041161860a3a96de481cc3d218eb39c4a6d64b3a778dd6c91aa8fb2ee42fcafdc9633a640ecdab6572c237042ed4f78e52a3257b8dec5998e0195cdf59924
67 changes: 67 additions & 0 deletions sys-cluster/libqb/libqb-2.0.10.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
inherit autotools

DESCRIPTION="libqb is a library providing high performance logging, tracing, ipc, and poll."
HOMEPAGE="http://clusterlabs.github.io/libqb/"
SRC_URI="https://api.github.com/repos/ClusterLabs/libqb/tarball/v2.0.10 -> libqb-2.0.10-9244e63.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="*"
DOCS=(
README.markdown
)
IUSE="debug doc examples systemd"
BDEPEND="app-arch/xz-utils
doc? (
app-doc/doxygen[dot]
)

"
RDEPEND="dev-libs/glib:2
dev-libs/libxml2:=

"
DEPEND="${RDEPEND}
"

post_src_unpack() {
mv ClusterLabs-libqb-* ${S}
}


src_prepare() {
default
# Skip installation of text documents without value
sed -e '/dist_doc_DATA/d' -i Makefile.am || die
# Do not append version suffix "-yank"
sed 's|1-yank|1|' -i configure.ac || die
eautoreconf
}
src_configure() {
econf \
--disable-static \
--with-socket-dir=/run \
$(use_enable systemd systemd-journal) \
$(use_enable debug)
}
src_compile() {
default
use doc && emake doxygen
}
src_install() {
emake install DESTDIR="${D}"
if use examples ; then
docinto examples
dodoc examples/*.c
fi
use doc && HTML_DOCS=("docs/html/.")
einstalldocs
find "${D}" -name '*.la' -delete || die
}



# vim: filetype=ebuild