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