Diff libaio-0.3.113 with a libaio-9999
/usr/portage/dev-libs/libaio/libaio-9999.ebuild 2024-12-25 14:59:48.367270071 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2024 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 |
inherit multilib-minimal toolchain-funcs flag-o-matic usr-ldscript |
|
6 |
inherit multilib-minimal toolchain-funcs flag-o-matic |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface" |
9 | 9 |
HOMEPAGE="https://pagure.io/libaio" |
10 | ||
10 | 11 |
if [[ ${PV} == 9999 ]] ; then |
11 | 12 |
inherit git-r3 |
12 | 13 |
EGIT_REPO_URI="https://pagure.io/libaio.git" |
13 | 14 |
else |
14 | 15 |
SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz" |
15 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" |
|
16 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
|
16 | 17 |
fi |
18 | ||
17 | 19 |
LICENSE="LGPL-2" |
18 | 20 |
SLOT="0" |
19 | 21 |
IUSE="static-libs test" |
... | ... | |
22 | 24 |
PATCHES=( |
23 | 25 |
"${FILESDIR}"/${PN}-0.3.112-cppflags.patch |
24 | 26 |
"${FILESDIR}"/${PN}-0.3.113-respect-LDFLAGS.patch |
25 |
"${FILESDIR}"/${PN}-0.3.113-32-bit-tests.patch |
|
26 | 27 |
) |
27 | 28 | |
28 | 29 |
src_prepare() { |
... | ... | |
84 | 85 |
doman man/* |
85 | 86 |
dodoc ChangeLog TODO |
86 | 87 | |
87 |
# move to / for multipath-tools, bug #325355 |
|
88 |
gen_usr_ldscript -a aio |
|
89 | ||
90 | 88 |
# This lib is a bare minimal shim on top of kernel syscalls. |
91 | 89 |
export QA_DT_NEEDED=$(find "${ED}" -type f -name 'libaio.so.*' -printf '/%P\n') |
92 | 90 |
} |