gentoo/dev-ml/uunf/uunf-17.0.0.ebuild
Alfredo Tupone 732af2d8df
dev-ml/uunf: add 17.0.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2025-10-02 08:06:56 +02:00

39 lines
735 B
Bash

# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit opam
DESCRIPTION="Unicode text normalization"
HOMEPAGE="https://erratique.ch/software/uunf https://github.com/dbuenzli/uunf"
SRC_URI="https://erratique.ch/software/uunf/releases/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~x86"
DEPEND="
dev-ml/cmdliner:=
>=dev-ml/topkg-1.1.0:=
dev-ml/uchar:=
dev-ml/uutf:=
"
RDEPEND="
${DEPEND}
"
BDEPEND="
dev-ml/findlib
"
OPAM_FILE="opam"
src_compile() {
# Increase stack limit to 11GiB to avoid stack overflow error.
# bug #798270
ulimit -s 11530000
ocaml pkg/pkg.ml build \
|| die "failed to run the pkg/pkg.ml ocaml compilation script"
}