summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2024-06-27 21:31:59 +0900
committerAkinori Hattori <hattya@gentoo.org>2024-06-27 21:33:24 +0900
commitf795d6ace256c70c9b6db3beff813e7a6ff94bc9 (patch)
tree764b53666cdf11e383da72b4f1e4a3fd43b5c70f /dev-db/m17n-db/m17n-db-1.8.5.ebuild
parentdev-db/m17n-db: update LICENSE (diff)
downloadgentoo-f795d6ace256c70c9b6db3beff813e7a6ff94bc9.tar.gz
gentoo-f795d6ace256c70c9b6db3beff813e7a6ff94bc9.tar.bz2
gentoo-f795d6ace256c70c9b6db3beff813e7a6ff94bc9.zip
dev-db/m17n-db: new upstream release
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-db/m17n-db/m17n-db-1.8.5.ebuild')
-rw-r--r--dev-db/m17n-db/m17n-db-1.8.5.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-db/m17n-db/m17n-db-1.8.5.ebuild b/dev-db/m17n-db/m17n-db-1.8.5.ebuild
new file mode 100644
index 000000000000..15bcacc57b5e
--- /dev/null
+++ b/dev-db/m17n-db/m17n-db-1.8.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+GLIBC_PV="2.39"
+GLIBC_P="glibc-${GLIBC_PV}"
+
+DESCRIPTION="Database for the m17n library"
+HOMEPAGE="https://www.nongnu.org/m17n/"
+SRC_URI="mirror://nongnu/m17n/${P}.tar.gz
+ elibc_musl? ( mirror://gnu/glibc/${GLIBC_P}.tar.xz )"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE=""
+
+RDEPEND="virtual/libintl"
+BDEPEND="sys-devel/gettext"
+
+CHARMAPS="${GLIBC_P}/localedata/charmaps"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ if use elibc_musl; then
+ tar xf "${DISTDIR}"/${GLIBC_P}.tar.xz ${CHARMAPS} || die
+ fi
+}
+
+src_configure() {
+ econf $(usex elibc_musl "--with-charmaps=${WORKDIR}/${CHARMAPS}" "")
+}
+
+src_install() {
+ default
+
+ docinto FORMATS
+ dodoc FORMATS/*
+
+ docinto UNIDATA
+ dodoc UNIDATA/*
+}