Сравнение yaz-3.0.53 с yaz-5.32.0
/usr/portage/dev-libs/yaz/yaz-5.32.0.ebuild 2023-10-09 14:52:29.772368357 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2022 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit autotools |
7 | 7 | |
8 | 8 |
DESCRIPTION="C/C++ toolkit for Z39.50v3 clients and servers" |
9 | 9 |
HOMEPAGE="https://www.indexdata.com/resources/software/yaz/" |
10 |
SRC_URI="https://ftp.indexdata.com/pub/${PN}/${P}.tar.gz" |
|
10 | ||
11 |
if [[ ${PV} == *9999 ]]; then |
|
12 |
inherit git-r3 |
|
13 |
EGIT_REPO_URI="https://github.com/indexdata/yaz.git" |
|
14 |
else |
|
15 |
SRC_URI="https://ftp.indexdata.com/pub/${PN}/${P}.tar.gz" |
|
16 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc x86" |
|
17 |
fi |
|
11 | 18 | |
12 | 19 |
LICENSE="BSD GPL-2" |
13 |
SLOT="0" |
|
14 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc x86" |
|
15 |
IUSE="debug icu gnutls tcpd ziffy" |
|
20 |
SLOT="0/5" |
|
21 |
IUSE="gnutls tcpd ziffy" |
|
16 | 22 | |
17 | 23 |
RDEPEND=" |
24 |
dev-libs/icu:= |
|
18 | 25 |
dev-libs/libxml2 |
19 | 26 |
dev-libs/libxslt |
20 | 27 |
sys-libs/readline:= |
... | ... | |
22 | 29 |
virtual/libintl |
23 | 30 |
!gnutls? ( dev-libs/openssl:0= ) |
24 | 31 |
gnutls? ( net-libs/gnutls:= ) |
25 |
icu? ( dev-libs/icu:= ) |
|
26 | 32 |
tcpd? ( sys-apps/tcp-wrappers ) |
27 | 33 |
ziffy? ( net-libs/libpcap ) |
28 | 34 |
" |
... | ... | |
34 | 40 |
virtual/pkgconfig |
35 | 41 |
" |
36 | 42 | |
37 |
PATCHES=( |
|
38 |
"${FILESDIR}"/${PN}-3.0.47-icu-automagic.patch |
|
39 |
) |
|
40 | ||
41 | 43 |
src_prepare() { |
42 | 44 |
default |
43 |
AT_M4DIR="m4" eautoreconf |
|
45 |
eautoreconf |
|
44 | 46 |
} |
45 | 47 | |
46 | 48 |
src_configure() { |
47 | 49 |
econf \ |
48 |
--enable-static \ |
|
49 | 50 |
--enable-shared \ |
50 |
$(use_enable debug memdebug) \ |
|
51 | 51 |
$(use_with gnutls) \ |
52 |
$(use_enable icu) \ |
|
53 | 52 |
$(use_enable tcpd tcpd /usr) |
54 | 53 |
} |
55 | 54 | |
... | ... | |
57 | 56 |
local docdir="/usr/share/doc/${PF}" |
58 | 57 |
emake DESTDIR="${D}" docdir="${EPREFIX}/${docdir}" install |
59 | 58 | |
59 |
find "${D}" -name '*.la' -delete || die |
|
60 | ||
60 | 61 |
dodir "${docdir}"/html |
61 | 62 |
mv -f "${ED}"/${docdir}/*.{html,png} "${ED}"/${docdir}/html/ || die "Failed to move HTML docs" |
62 | 63 |
mv -f "${ED}"/usr/share/doc/${PN}/common "${ED}"/${docdir}/html/ || die "Failed to move HTML docs" |
63 | 64 |
rm -rf "${ED}"/usr/share/doc/${PN} || die |
64 | 65 | |
65 |
dodoc ChangeLog NEWS README |
|
66 |
dodoc ChangeLog NEWS |
|
66 | 67 |
} |