blob: ab579300eae29d1181954b9a3e5b879b73d9d6f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="This library implements the client side of the Gadu-Gadu protocol"
HOMEPAGE="http://toxygen.net/libgadu/"
SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
# Bug 373215, last checked 2012.01.28
RESTRICT="test"
LICENSE="LGPL-2.1"
KEYWORDS="~alpha amd64 arm ~mips ppc ppc64 ~sparc x86"
SLOT="0"
IUSE="doc ssl threads"
COMMON_DEPEND="
virtual/zlib:=
ssl? ( net-libs/gnutls:= )
"
DEPEND="${COMMON_DEPEND}
doc? ( app-text/doxygen )
"
RDEPEND="${COMMON_DEPEND}"
DOCS=(AUTHORS ChangeLog NEWS README)
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
--disable-static
--disable-tests
--without-openssl
$(use_with ssl gnutls)
$(use_with threads pthread)
)
econf "${myeconfargs[@]}"
}
src_install() {
use doc && local HTML_DOCS=( docs/html/. )
default
find "${D}" -name '*.la' -type f -delete || die
}
|