/[gentoo-x86]/dev-libs/ucommon/ucommon-5.2.2-r2.ebuild
Gentoo

Contents of /dev-libs/ucommon/ucommon-5.2.2-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Aug 19 21:22:42 2012 UTC (2 years, 8 months ago) by qnikst
Branch: MAIN
ucommon-5.2.2 bug#423941 fixed

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 qnikst 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/dev-libs/ucommon/ucommon-5.2.2-r1.ebuild,v 1.1 2012/06/14 16:44:43 maksbotan Exp $
4    
5     EAPI="4"
6    
7     inherit autotools-utils
8    
9     DESCRIPTION="Portable C++ runtime for threads and sockets"
10     HOMEPAGE="http://www.gnu.org/software/commoncpp"
11     SRC_URI="mirror://gnu/commoncpp/${P}.tar.gz"
12    
13     LICENSE="LGPL-3"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86 ~amd64-linux"
16     IUSE="doc static-libs socks +cxx debug ssl gnutls"
17    
18     RDEPEND="ssl? ( dev-libs/openssl )"
19    
20     DEPEND="virtual/pkgconfig
21     doc? ( app-doc/doxygen )
22     ${RDEPEND}"
23    
24     DOCS=(README NEWS SUPPORT ChangeLog AUTHORS)
25     PATCHES=( "${FILESDIR}"/disable_rtf_gen_doxy.patch )
26     AUTOTOOLS_IN_SOURCE_BUILD=1
27    
28     src_configure() {
29     local myconf=""
30     if ! use ssl && ! use gnutls; then
31     myconf=" --with-sslstack=nossl "
32     fi
33    
34     if use ssl; then
35     myconf=" --with-sslstack=ssl "
36     fi
37    
38     local myeconfargs=(
39     $(use_enable socks)
40     $(use_enable cxx stdcpp)
41     ${myconf}
42     --enable-atomics
43     --with-pkg-config
44     )
45     autotools-utils_src_configure
46     }
47    
48     src_compile() {
49     autotools-utils_src_compile
50     use doc && autotools-utils_src_compile doxy
51     }
52    
53     src_install() {
54     autotools-utils_src_install
55     if use doc; then
56     dohtml doc/html/*
57     fi
58     }

  ViewVC Help
Powered by ViewVC 1.1.20