diff options
Diffstat (limited to 'dev-ml/uunf/uunf-15.1.0.ebuild')
-rw-r--r-- | dev-ml/uunf/uunf-15.1.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ml/uunf/uunf-15.1.0.ebuild b/dev-ml/uunf/uunf-15.1.0.ebuild new file mode 100644 index 000000000000..eb1030f21bad --- /dev/null +++ b/dev-ml/uunf/uunf-15.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019-2023 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 ~x86" +IUSE="" + +DEPEND=" + dev-ml/topkg:= + dev-ml/uutf:= + dev-ml/cmdliner:= +" +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" +} |