Diff crypto++-8.6.0-r1 with a crypto++-8.8.0
/usr/portage/dev-libs/crypto++/crypto++-8.8.0.ebuild 2023-10-09 14:52:29.492368350 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 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 |
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/crypto++.asc |
7 | 7 |
inherit flag-o-matic toolchain-funcs verify-sig |
8 | 8 | |
9 | 9 |
DESCRIPTION="C++ class library of cryptographic schemes" |
10 | 10 |
HOMEPAGE="https://cryptopp.com" |
11 |
SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip" |
|
12 |
SRC_URI+=" verify-sig? ( https://cryptopp.com/cryptopp${PV//.}.zip.sig )" |
|
11 |
SRC_URI=" |
|
12 |
https://www.cryptopp.com/cryptopp${PV//.}.zip |
|
13 |
verify-sig? ( https://cryptopp.com/cryptopp${PV//.}.zip.sig ) |
|
14 |
" |
|
15 | ||
13 | 16 |
S="${WORKDIR}" |
14 | 17 | |
15 | 18 |
LICENSE="Boost-1.0" |
... | ... | |
30 | 33 |
verify-sig? ( sec-keys/openpgp-keys-crypto++ ) |
31 | 34 |
" |
32 | 35 | |
33 |
PATCHES=( |
|
34 |
"${FILESDIR}/${PN}-8.2.0-musl-ldconfig.patch" |
|
35 |
) |
|
36 | ||
37 | 36 |
config_uncomment() { |
38 | 37 |
sed -i -e "s://\s*\(#define\s*$1\):\1:" config.h || die |
39 | 38 |
} |
... | ... | |
64 | 63 |
} |
65 | 64 | |
66 | 65 |
src_compile() { |
67 |
emake -f GNUmakefile all shared libcryptopp.pc |
|
66 |
emake -f GNUmakefile LDCONF=true all shared libcryptopp.pc |
|
68 | 67 |
} |
69 | 68 | |
70 | 69 |
src_install() { |
71 |
default |
|
70 |
emake DESTDIR="${D}" LDCONF=true install |
|
72 | 71 | |
73 | 72 |
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a |
74 | 73 |
} |