Diff maxcso-1.13.0 with a maxcso-9999
/usr/portage/dev-util/maxcso/maxcso-9999.ebuild 2024-12-25 14:59:49.059270089 +0300 | ||
---|---|---|
1 |
# Copyright 2021 Gentoo Authors |
|
1 |
# Copyright 2021-2024 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
15 | 15 |
KEYWORDS="~amd64 ~x86" |
16 | 16 |
fi |
17 | 17 | |
18 |
LICENSE="ISC MIT LGPL-2.1+ Apache-2.0" |
|
18 |
LICENSE="ISC LGPL-2.1+ Apache-2.0" |
|
19 | 19 |
SLOT="0" |
20 | 20 | |
21 |
BDEPEND="virtual/pkgconfig" |
|
22 |
RDEPEND=" |
|
23 |
app-arch/lz4 |
|
24 |
dev-libs/libuv |
|
21 |
DEPEND=" |
|
22 |
app-arch/libdeflate[zlib(+)] |
|
23 |
app-arch/lz4:= |
|
24 |
dev-libs/libuv:= |
|
25 | 25 |
sys-libs/zlib |
26 | 26 |
" |
27 |
DEPEND="${RDEPEND}" |
|
28 | ||
29 |
PATCHES=("${FILESDIR}/${P}-ldflags.patch") |
|
27 |
RDEPEND="${DEPEND}" |
|
28 |
BDEPEND="virtual/pkgconfig" |
|
30 | 29 | |
31 | 30 |
src_compile() { |
32 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" |
|
31 |
emake \ |
|
32 |
CC="$(tc-getCC)" \ |
|
33 |
CXX="$(tc-getCXX)" \ |
|
34 |
PKG_CONFIG="$(tc-getPKG_CONFIG)" \ |
|
35 |
USE_EXTERNAL_LIBDEFLATE=1 |
|
33 | 36 |
} |
34 | 37 | |
35 | 38 |
src_install() { |
36 |
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install |
|
39 |
emake install \ |
|
40 |
DESTDIR="${D}" \ |
|
41 |
PREFIX="${EPREFIX}"/usr \ |
|
42 |
USE_EXTERNAL_LIBDEFLATE=1 |
|
43 | ||
37 | 44 |
dodoc README.md README_CSO.md README_ZSO.md |
38 | 45 |
} |