Line 0
Link Here
|
0 |
- |
1 |
# Copyright 1999-2020 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 static-libs test" |
14 |
RESTRICT="!test? ( test )" |
15 |
|
16 |
COMMON_DEPEND=" |
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/gpgme |
27 |
dev-libs/libgcrypt:= |
28 |
) |
29 |
" |
30 |
DEPEND="${COMMON_DEPEND} |
31 |
virtual/pkgconfig |
32 |
nls? ( sys-devel/gettext ) |
33 |
test? ( >=net-libs/gnutls-2.12.0 ) |
34 |
" |
35 |
RDEPEND="${COMMON_DEPEND} |
36 |
!openssl? ( >=app-crypt/gnupg-2 ) |
37 |
" |
38 |
|
39 |
DOCS=( NEWS README AUTHORS ChangeLog ) |
40 |
|
41 |
src_configure() { |
42 |
local myeconfargs=( |
43 |
--disable-fatalwarnings |
44 |
$(use_with curl libcurl) |
45 |
$(use_enable curl curlreauthorizationbug) |
46 |
$(use_enable doc) |
47 |
$(use_enable debug) |
48 |
$(use_enable nls) |
49 |
$(use_enable openssl openssl-backend) |
50 |
$(use_enable static-libs static) |
51 |
$(use_enable test) |
52 |
) |
53 |
econf "${myeconfargs[@]}" |
54 |
} |
55 |
|
56 |
src_install() { |
57 |
default |
58 |
|
59 |
find "${ED}/" \( -name "*.a" -o -name "*.la" \) -delete || die |
60 |
} |