Сравнение libuev-2.3.2-r1 с libuev-2.4.0
/usr/portage/dev-libs/libuev/libuev-2.4.0.ebuild 2023-10-09 14:52:29.532368351 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit autotools |
|
7 | ||
8 | 6 |
DESCRIPTION="Lightweight event loop library for Linux epoll() family APIs" |
9 | 7 |
HOMEPAGE="https://github.com/troglobit/libuev" |
10 | 8 |
SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz" |
11 | 9 | |
12 | 10 |
LICENSE="MIT" |
13 | 11 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~x86" |
|
12 |
KEYWORDS="~amd64 ~arm64 ~x86" |
|
15 | 13 |
IUSE="static-libs" |
16 | 14 | |
17 |
PATCHES=( |
|
18 |
"${FILESDIR}/${PN}"-fix-tests.patch |
|
19 |
"${FILESDIR}/${PN}"-large-files-fix.patch |
|
20 |
) |
|
21 | ||
22 |
src_prepare() { |
|
23 |
default |
|
24 | ||
25 |
# Needed for glibc/LFS patches |
|
26 |
eautoreconf |
|
27 |
} |
|
28 | ||
29 | 15 |
src_configure() { |
30 | 16 |
econf --enable-static=$(usex static-libs) |
31 | 17 |
} |
32 | 18 | |
33 | 19 |
src_install() { |
34 | 20 |
default |
35 |
find "${D}" -name '*.la' -delete || die |
|
36 |
rm "${D}/usr/share/doc/${PF}/LICENSE" || die |
|
21 | ||
22 |
find "${ED}" -name '*.la' -delete || die |
|
23 |
rm "${ED}"/usr/share/doc/${PF}/LICENSE || die |
|
37 | 24 |
} |