Line 0
Link Here
|
0 |
- |
1 |
# Copyright 1999-2022 Gentoo Authors |
|
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
4 |
EAPI=7 |
5 |
|
6 |
DESCRIPTION="Client library for accessing ISDS Soap services" |
7 |
HOMEPAGE="http://xpisar.wz.cz/libisds/" |
8 |
SRC_URI="http://xpisar.wz.cz/${PN}/dist/${P}.tar.xz" |
9 |
KEYWORDS="~amd64 ~mips ~x86" |
10 |
|
11 |
LICENSE="LGPL-3" |
12 |
SLOT="0" |
13 |
IUSE="+curl debug doc nls openssl test" |
14 |
RESTRICT="!test? ( test )" |
15 |
|
16 |
RDEPEND=" |
17 |
dev-libs/expat |
18 |
dev-libs/libxml2 |
19 |
curl? ( net-misc/curl[ssl] ) |
20 |
doc? ( |
21 |
app-text/docbook-xsl-stylesheets |
22 |
dev-libs/libxslt |
23 |
) |
24 |
openssl? ( dev-libs/openssl:= ) |
25 |
!openssl? ( |
26 |
app-crypt/gnupg |
27 |
app-crypt/gpgme:= |
28 |
dev-libs/libgcrypt:= |
29 |
)" |
30 |
DEPEND="${RDEPEND} |
31 |
test? ( net-libs/gnutls )" |
32 |
BDEPEND=" |
33 |
virtual/pkgconfig |
34 |
nls? ( sys-devel/gettext )" |
35 |
|
36 |
src_configure() { |
37 |
local myeconfargs=( |
38 |
--disable-fatalwarnings |
39 |
--disable-static |
40 |
$(use_with curl libcurl) |
41 |
$(use_enable curl curlreauthorizationbug) |
42 |
$(use_enable doc) |
43 |
$(use_enable debug) |
44 |
$(use_enable nls) |
45 |
$(use_enable openssl openssl-backend) |
46 |
$(use_enable test) |
47 |
) |
48 |
econf "${myeconfargs[@]}" |
49 |
} |
50 |
|
51 |
src_install() { |
52 |
default |
53 |
|
54 |
find "${ED}" -name '*.la' -delete || die |
55 |
} |