mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 23:48:20 +00:00
29 lines
758 B
Bash
29 lines
758 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Wrapper to coreutils install to preserve Filesystem Extended Attributes"
|
|
HOMEPAGE="https://dev.gentoo.org/~blueness/install-xattr/"
|
|
|
|
inherit flag-o-matic toolchain-funcs
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/install-xattr.git"
|
|
inherit git-r3
|
|
else
|
|
SRC_URI="https://gitweb.gentoo.org/proj/install-xattr.git/snapshot/${P}.tar.gz"
|
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
fi
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
|
|
src_configure() {
|
|
tc-export CC
|
|
append-lfs-flags
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
|
}
|