gentoo/dev-ml/ocamlweb/ocamlweb-1.41-r2.ebuild
Alfredo Tupone b392e5bb1b
dev-ml/ocamlweb: block with ocaml-5
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2025-03-11 21:40:50 +01:00

40 lines
844 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit latex-package
DESCRIPTION="O'Caml literate programming tool"
HOMEPAGE="https://www.lri.fr/~filliatr/ocamlweb/"
SRC_URI="https://www.lri.fr/~filliatr/ftp/ocamlweb/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="<dev-lang/ocaml-5:=
virtual/latex-base
dev-texlive/texlive-latexextra"
RDEPEND="${DEPEND}"
BDEPEND="test? ( dev-tex/hevea )"
PATCHES=(
"${FILESDIR}/${PN}-1.41-strip.patch"
"${FILESDIR}/${PN}-1.41-ocaml-4.08.0.patch"
)
QA_FLAGS_IGNORED=/usr/bin/ocamlweb
src_compile() {
default
}
src_install() {
emake UPDATETEX="" prefix="${D}/usr" MANDIR="${D}/usr/share/man" BASETEXDIR="${D}/${TEXMF}" install
dodoc README CHANGES
}