Diff install-xattr-0.8 with a install-xattr-0.8-r1
/usr/portage/sys-apps/install-xattr/install-xattr-0.8-r1.ebuild 2023-10-09 14:52:35.380368499 +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 |
DESCRIPTION="Wrapper to coreutil's install to preserve Filesystem Extended Attributes" |
|
6 |
DESCRIPTION="Wrapper to coreutils install to preserve Filesystem Extended Attributes" |
|
7 | 7 |
HOMEPAGE="https://dev.gentoo.org/~blueness/install-xattr/" |
8 | 8 | |
9 | 9 |
inherit flag-o-matic toolchain-funcs |
... | ... | |
13 | 13 |
inherit git-r3 |
14 | 14 |
else |
15 | 15 |
SRC_URI="https://dev.gentoo.org/~blueness/install-xattr/${P}.tar.bz2" |
16 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
|
17 |
S=${WORKDIR}/${PN} |
|
16 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
17 |
S="${WORKDIR}"/${PN} |
|
18 | 18 |
fi |
19 | 19 | |
20 | 20 |
LICENSE="GPL-3" |
21 | 21 |
SLOT="0" |
22 | 22 | |
23 |
PATCHES=( |
|
24 |
# Backports from master, drop on next release |
|
25 |
"${FILESDIR}"/${PV} |
|
26 |
) |
|
27 | ||
23 | 28 |
src_prepare() { |
24 | 29 |
default |
30 | ||
25 | 31 |
tc-export CC |
26 |
append-cppflags "-D_FILE_OFFSET_BITS=64" |
|
32 |
append-lfs-flags |
|
27 | 33 |
} |
28 | 34 | |
29 | 35 |
src_compile() { |
... | ... | |
37 | 43 |
if [[ ${PV} == "9999" ]] ; then |
38 | 44 |
cd "${WORKDIR}/${P}/misc/${PN}" || die |
39 | 45 |
fi |
40 |
DESTDIR=${ED} emake install |
|
41 |
} |
|
42 | 46 | |
43 |
# We need to fix how tests are done |
|
44 |
src_test() { |
|
45 |
true |
|
47 |
emake DESTDIR="${ED}" install |
|
46 | 48 |
} |