mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
sys-apps/locale-gen: add 9999
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -5,11 +5,18 @@ EAPI=8
|
||||
|
||||
DESCRIPTION="Generate locales based upon the config file /etc/locale.gen"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/locale-gen.git/"
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/locale-gen.git/snapshot/${P}.tar.bz2"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/locale-gen.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/locale-gen.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"
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
|
||||
32
sys-apps/locale-gen/locale-gen-9999.ebuild
Normal file
32
sys-apps/locale-gen/locale-gen-9999.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Generate locales based upon the config file /etc/locale.gen"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/locale-gen.git/"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/locale-gen.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/locale-gen.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="
|
||||
dev-lang/perl
|
||||
!<sys-libs/glibc-2.37-r3
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dosbin locale-gen
|
||||
doman *.[0-8]
|
||||
insinto /etc
|
||||
doins locale.gen
|
||||
keepdir /usr/lib/locale
|
||||
}
|
||||
Reference in New Issue
Block a user