diff options
-rw-r--r-- | sys-cluster/libqb/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/libqb/libqb-1.0.1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-cluster/libqb/Manifest b/sys-cluster/libqb/Manifest index f2b31aa75fa8..42c22d4351a0 100644 --- a/sys-cluster/libqb/Manifest +++ b/sys-cluster/libqb/Manifest @@ -4,3 +4,4 @@ DIST libqb-0.14.4.tar.xz 370336 SHA256 f518d146cdc6f820e9ed84d35cc3a447ea6fc51a6 DIST libqb-0.17.0.tar.xz 384240 SHA256 555c5c43275f519d323a807652fad863c3528c2644b9b6e29cb9eafbda79d45a SHA512 97ca5e64788c0ec8d8afa14854d245fd0b3bdcfe144e0e3ee9d07d6672c5279d7a91bf647524047375745e28a674658dfb4814a1fbff3b45d538c57469ef31bb WHIRLPOOL c7fb543e928c11c463d6f25bc64e9f4963959d01c26ffd8d10571eeca2716cb360153845517a08e6abb61f40ca414b3efb2f84dfebd988b7dd501ea122f95cfb DIST libqb-0.17.1.tar.xz 386304 SHA256 7a2115f83bfe20eaa5f2e4ed235e8f2994235d3b87e3e5ca41ba47b320f12e29 SHA512 9705b291a61ca278fd0c9ab631af2cb844cdfc73b19501dd2e12eb162b37f0eded800860127a8a5c5c7c2a0e8db53e4780d3ab9697b099f4560a9a87aa8ec9ca WHIRLPOOL 8b853fd6e26eca02605a49c5b9c0f97a41e98c5667dadd9a9c3ad36024ec1baacf764e40a774c83938d80ea686af61de0474c390337c16673f2abcbe983ec067 DIST libqb-0.17.2.tar.xz 373540 SHA256 9a419c649ed51f275dc780da8a15babb8a5d33633567bd9e0cb6193b6e21f4fe SHA512 9c6dce7d18aa4da31594faecd0ea2737c2beefa749290094f733fe89ac40f094ec6409f310c534b8144d500e8c204c328386eaf1029995698d7019c014433443 WHIRLPOOL 3a39339893571a9842172c100820eb7324e3caf4c4e8811bdf5f65cdc5b5c96dbe797232d45b5b970cd9b77cee04578582d1b2ef0b28c5f7cb30b2fed4884453 +DIST libqb-1.0.1.tar.xz 438204 SHA256 912e8e7b9f1c2ed96c7308986f612313c4b26c841147a95546247e5ce38714c6 SHA512 9afdf5b7064f4e79f70e3c21d1ae954d1444d202d5903bd84866e502b2afc218d4a84fd21fab637a198357e1dad5da94814a6c0bdaa0ba6ac4a24ff40422c185 WHIRLPOOL 9000ac470a4d37b245a30eaba725ae7b65bec8e30830061ebd60d98c7dafa7d7179973aa3d66824f49007ae004cf56e722d5ba661400a0997ee934c8ea0acb9d diff --git a/sys-cluster/libqb/libqb-1.0.1.ebuild b/sys-cluster/libqb/libqb-1.0.1.ebuild new file mode 100644 index 000000000000..3308b4f6b95d --- /dev/null +++ b/sys-cluster/libqb/libqb-1.0.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 + +inherit autotools-utils + +DESCRIPTION="Library providing high performance logging, tracing, ipc, and poll" +HOMEPAGE="https://github.com/ClusterLabs/libqb" +SRC_URI="https://github.com/ClusterLabs/${PN}/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~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 +} |