Diff install-xattr-0.8-r1 with a install-xattr-9999
/usr/portage/sys-apps/install-xattr/install-xattr-9999.ebuild 2025-07-29 16:22:17.376467925 +0300 | ||
---|---|---|
9 | 9 |
inherit flag-o-matic toolchain-funcs |
10 | 10 | |
11 | 11 |
if [[ ${PV} == "9999" ]] ; then |
12 |
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/elfix.git" |
|
12 |
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/install-xattr.git" |
|
13 | 13 |
inherit git-r3 |
14 | 14 |
else |
15 |
SRC_URI="https://dev.gentoo.org/~blueness/install-xattr/${P}.tar.bz2" |
|
16 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
|
17 |
S="${WORKDIR}"/${PN} |
|
15 |
SRC_URI="https://gitweb.gentoo.org/proj/install-xattr.git/snapshot/${P}.tar.gz" |
|
16 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
18 | 17 |
fi |
19 | 18 | |
20 | 19 |
LICENSE="GPL-3+" |
21 | 20 |
SLOT="0" |
22 | 21 | |
23 |
PATCHES=( |
|
24 |
# Backports from master, drop on next release |
|
25 |
"${FILESDIR}"/${PV} |
|
26 |
) |
|
27 | ||
28 |
src_prepare() { |
|
29 |
default |
|
30 | ||
22 |
src_configure() { |
|
31 | 23 |
tc-export CC |
32 | 24 |
append-lfs-flags |
33 | 25 |
} |
34 | 26 | |
35 |
src_compile() { |
|
36 |
if [[ ${PV} == "9999" ]] ; then |
|
37 |
cd "${WORKDIR}/${P}/misc/${PN}" || die |
|
38 |
fi |
|
39 |
default |
|
40 |
} |
|
41 | ||
42 | 27 |
src_install() { |
43 |
if [[ ${PV} == "9999" ]] ; then |
|
44 |
cd "${WORKDIR}/${P}/misc/${PN}" || die |
|
45 |
fi |
|
46 | ||
47 |
emake DESTDIR="${ED}" install |
|
28 |
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install |
|
48 | 29 |
} |