/[gentoo-x86]/sys-cluster/libqb/libqb-0.14.3.ebuild
Gentoo

Contents of /sys-cluster/libqb/libqb-0.14.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Nov 14 17:23:50 2012 UTC (17 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Marked ~hppa (bug #442408).

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/libqb/libqb-0.14.3.ebuild,v 1.1 2012/10/29 11:07:24 ultrabug Exp $
4
5 EAPI=4
6
7 AUTOTOOLS_AUTORECONF=1
8
9 inherit autotools-utils
10
11 DESCRIPTION="Library providing high performance logging, tracing, ipc, and poll"
12 HOMEPAGE="https://github.com/asalkeld/libqb"
13 SRC_URI="http://fedorahosted.org/releases/q/u/quarterback/${P}.tar.xz"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 KEYWORDS="~amd64 ~hppa ~x86"
18 IUSE="debug doc examples static-libs test"
19
20 RDEPEND="dev-libs/glib:2"
21 DEPEND="${RDEPEND}
22 app-arch/xz-utils
23 test? ( dev-libs/check )
24 doc? ( app-doc/doxygen[dot] )"
25
26 DOCS=(README.markdown ChangeLog)
27
28 src_prepare() {
29 sed -e '/dist_doc_DATA/d' -i Makefile.am || die
30 autotools-utils_src_prepare
31 }
32
33 src_configure() {
34 local myeconfargs=(
35 $(use_enable debug)
36 )
37 autotools-utils_src_configure
38 }
39
40 src_compile() {
41 autotools-utils_src_compile
42 use doc && autotools-utils_src_compile doxygen
43 }
44
45 src_install() {
46 use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/docs/html/")
47 autotools-utils_src_install
48 if use examples ; then
49 insinto /usr/share/doc/${PF}/examples
50 doins examples/*.c
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.20