commit: f2d625742780788bca38a4cc976fe2b515ecde3b Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Sat May 6 23:38:22 2023 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sat May 6 23:40:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d62574
sys-apps/locale-gen: New package, splitting out of glibc Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> sys-apps/locale-gen/Manifest | 1 + sys-apps/locale-gen/locale-gen-2.23.ebuild | 39 ++++++++++++++++++++++++++++++ sys-apps/locale-gen/metadata.xml | 8 ++++++ 3 files changed, 48 insertions(+) diff --git a/sys-apps/locale-gen/Manifest b/sys-apps/locale-gen/Manifest new file mode 100644 index 000000000000..6b7bfc73baec --- /dev/null +++ b/sys-apps/locale-gen/Manifest @@ -0,0 +1 @@ +DIST locale-gen-2.23.tar.bz2 7664 BLAKE2B a529b62fbb840c9352f06e8f5c80fc764425a2619dc69cc820f550a026d391788d5e2cfeeb46a8b5b9716da63340b4fce57a5b523edd4196ee1219c1200cb752 SHA512 c1245caadb04403c535a836f19bc410d0f04b5c0e297ea5be9852e6d71e08e528071ae769d63d31a677dda8fdd618b4c4d581ed525cf8786b82d8f37636db754 diff --git a/sys-apps/locale-gen/locale-gen-2.23.ebuild b/sys-apps/locale-gen/locale-gen-2.23.ebuild new file mode 100644 index 000000000000..ee824727c21f --- /dev/null +++ b/sys-apps/locale-gen/locale-gen-2.23.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit prefix + +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" + +# Totally unclear what the license is. Following here the statement +# in the Debian file that the tools accompanying glibc are GPL-2+ +LICENSE="GPL-2+" + +SLOT="0" +#KEYWORDS="~amd64" + +RDEPEND=" + app-alternatives/awk + app-arch/gzip + sys-apps/grep + >=sys-libs/glibc-2.38 + !<sys-libs/glibc-2.38 +" +DEPEND="" + +src_prepare() { + default + eprefixify locale-gen +} + +src_install() { + dosbin locale-gen + doman *.[0-8] + insinto /etc + doins locale.gen + keepdir /usr/lib/locale +} diff --git a/sys-apps/locale-gen/metadata.xml b/sys-apps/locale-gen/metadata.xml new file mode 100644 index 000000000000..e9de1423720b --- /dev/null +++ b/sys-apps/locale-gen/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Toolchain Project</name> + </maintainer> +</pkgmetadata>
