summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-05-07 01:38:22 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-05-07 01:40:14 +0200
commitf2d625742780788bca38a4cc976fe2b515ecde3b (patch)
treeab2a8401ec5bda3ec9c2b0988ec4b79d1dadce64 /sys-apps/locale-gen
parentmedia-libs/gexiv2: Version bump to 0.14.1 (diff)
downloadgentoo-f2d625742780788bca38a4cc976fe2b515ecde3b.tar.gz
gentoo-f2d625742780788bca38a4cc976fe2b515ecde3b.tar.bz2
gentoo-f2d625742780788bca38a4cc976fe2b515ecde3b.zip
sys-apps/locale-gen: New package, splitting out of glibc
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-apps/locale-gen')
-rw-r--r--sys-apps/locale-gen/Manifest1
-rw-r--r--sys-apps/locale-gen/locale-gen-2.23.ebuild39
-rw-r--r--sys-apps/locale-gen/metadata.xml8
3 files changed, 48 insertions, 0 deletions
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>toolchain@gentoo.org</email>
+ <name>Gentoo Toolchain Project</name>
+ </maintainer>
+</pkgmetadata>