/[gentoo-x86]/net-libs/libgadu/libgadu-1.12.0.ebuild
Gentoo

Contents of /net-libs/libgadu/libgadu-1.12.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Sep 19 16:52:14 2014 UTC (6 years, 2 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Drop HPPA keywording (bug #519854).

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

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libgadu/libgadu-1.12.0.ebuild,v 1.4 2014/09/05 22:37:44 reavertm Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=1
8
9 inherit autotools-utils
10
11 DESCRIPTION="This library implements the client side of the Gadu-Gadu protocol"
12 HOMEPAGE="http://toxygen.net/libgadu/"
13 SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
14
15 LICENSE="LGPL-2.1"
16 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
17 SLOT="0"
18 IUSE="doc gnutls ssl static-libs test threads"
19
20 REQUIRED_USE="
21 gnutls? ( ssl )
22 "
23 COMMON_DEPEND="
24 >=dev-libs/protobuf-c-0.15
25 sys-libs/zlib
26 ssl? (
27 gnutls? ( net-libs/gnutls )
28 !gnutls? ( >=dev-libs/openssl-0.9.6m )
29 )
30 "
31 DEPEND="${COMMON_DEPEND}
32 doc? ( app-doc/doxygen )
33 test? (
34 dev-libs/expat
35 dev-libs/libxml2:2
36 net-misc/curl
37 )
38 "
39 RDEPEND="${COMMON_DEPEND}
40 !=net-im/kadu-0.6.0.2
41 !=net-im/kadu-0.6.0.1
42 "
43
44 AUTOTOOLS_IN_SOURCE_BUILD=1
45
46 PATCHES=(
47 "${FILESDIR}/${P}-tests.patch"
48 )
49
50 DOCS=(AUTHORS ChangeLog NEWS README)
51
52 src_configure() {
53 local myeconfargs=(
54 --with-protobuf
55 $(use_enable test tests)
56 $(use_with threads pthread)
57 )
58
59 if use ssl; then
60 myeconfargs+=(
61 $(use_with gnutls gnutls)
62 $(use_with !gnutls openssl)
63 )
64 else
65 myeconfargs+=(
66 --without-gnutls
67 --without-openssl
68 )
69 fi
70
71 autotools-utils_src_configure
72 }
73
74 src_install() {
75 use doc && HTML_DOCS=(docs/html/)
76 autotools-utils_src_install
77 }

  ViewVC Help
Powered by ViewVC 1.1.20