gentoo-ebuilds/sys-apps/config-site/config-site-99999999.ebuild
Sam James 74a789cc9e
sys-apps/config-site: add 99999999
To facilitate experimentation (with config caching).

Signed-off-by: Sam James <sam@gentoo.org>
2025-01-19 18:08:31 +00:00

29 lines
771 B
Bash

# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="config.site to load dropins from config.site.d"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base"
if [[ ${PV} == 99999999 ]] ; then
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/config-site.git"
inherit git-r3
else
SRC_URI="https://gitweb.gentoo.org/proj/config-site.git/snapshot/${P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
LICENSE="GPL-2"
SLOT="0"
RDEPEND="!<sys-devel/crossdev-20230209-r1"
src_configure() {
sed -e "s|@datarootdir@|${EPREFIX}/usr/share|" \
config.site.in > config.site || die
}
src_install() {
insinto /usr/share
doins config.site
}