Added a newer libqb version than shipped with gentoo 17.1 profile.

This commit is contained in:
Kimitsune 2019-12-05 21:05:57 +01:00
parent 64ad095a13
commit b9a9c5b2df
3 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST libqb-1.0.5.tar.xz 488516 BLAKE2B 96f61ce681d0c259e8df38f35c04349ab3b1199f62c2311d60c6f229bf15e8f62825c965a4847cbda4701119fc7ae3c68cc3a7187f927f8ddf7496cf1931c7c2 SHA512 a695bc4c913a32d47535cb2d8812f14a39732cae32651521a8f7b6d05c4202bfc28a477c88875bbfbe1a0238cd33f1fe64f2d2217b0c27cf11acf7233fc2cbdf
EBUILD libqb-1.0.5.ebuild 1143 BLAKE2B a074ade79bdeaaf12b0bd6f1a7adaab5eda0856f5725441548e24b1a214e57042e8cc68b8dd13741356bd948186c0b3c81bdacc181229999a03ba687fa43064b SHA512 59ab3d4399c91a42c943c851dd857ad3cac4e6c70acef525b2a3a22d13867fb24fafa4e12bf55f263a7b633f49dbc153321518f2f858870bc50ac60479fdff5f
MISC metadata.xml 336 BLAKE2B bfb9a7bc9f1619b2605c7e6ca503e06cd0ccbcdef1dcea10f6f8e8fa524ccb3df4a230b000f6b7eb869d2eab92cec6a385e7d2c482bc612289a0b0b9e72875c4 SHA512 7138793800d1d53f31019dcd56eb8d44a0442dc25733a777931af10846f0a61488d3e30f2ba7b5540380e1ddb4d7fdc44eaa39c126ed005b8bde7ef75b2b495e

View File

@ -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 ~arm64 ~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
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>cluster@gentoo.org</email>
<name>Gentoo Cluster Project</name>
</maintainer>
<upstream>
<remote-id type="github">asalkeld/libqb</remote-id>
</upstream>
</pkgmetadata>