From c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Feb 2021 21:41:11 +0000 Subject: gentoo (valentine's day) resync : 14.02.2021 --- dev-ml/dose3/dose3-5.0.1-r2.ebuild | 67 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 dev-ml/dose3/dose3-5.0.1-r2.ebuild (limited to 'dev-ml/dose3/dose3-5.0.1-r2.ebuild') diff --git a/dev-ml/dose3/dose3-5.0.1-r2.ebuild b/dev-ml/dose3/dose3-5.0.1-r2.ebuild new file mode 100644 index 000000000000..a90a3f4b1e81 --- /dev/null +++ b/dev-ml/dose3/dose3-5.0.1-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="${P/_beta/-beta}" +DESCRIPTION="Library to perform analysis on package repositories" +HOMEPAGE="http://www.mancoosi.org/software/ https://gforge.inria.fr/projects/dose" +SRC_URI="https://gforge.inria.fr/frs/download.php/file/36063/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="+ocamlopt parmap zip bzip2 xml curl rpm4 test" + +RDEPEND=" + =dev-ml/extlib-1.7.0:= + dev-ml/re:= + parmap? ( dev-ml/parmap:= ) + zip? ( dev-ml/camlzip:= ) + bzip2? ( dev-ml/camlbz2:= ) + >=dev-ml/ocamlgraph-1.8.6:= + xml? ( dev-ml/ocaml-expat:= dev-ml/xml-light:= ) + curl? ( dev-ml/ocurl:= ) + rpm4? ( app-arch/rpm ) +" +DEPEND="${RDEPEND} + dev-ml/findlib + dev-ml/ocamlbuild + dev-ml/cppo + test? ( dev-python/pyyaml[libyaml] ) +" +# missing test data +RESTRICT="test" + +QA_FLAGS_IGNORED='.*' + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + sed -e 's/INSTALLOPTS=-s/INSTALLOPTS=/' -i Makefile.config.in || die + has_version '>=dev-lang/ocaml-4.06_beta' && eapply "${FILESDIR}/ocaml406.patch" + eapply "${FILESDIR}/unix.patch" +} + +src_configure() { + econf \ + $(use ocamlopt || echo "--with-bytecodeonly") \ + $(use parmap && echo "--with-parmap") \ + $(use zip && echo "--with-zip") \ + $(use bzip2 && echo "--with-bz2") \ + $(use xml && echo "--with-xml") \ + $(use curl && echo "--with-curl") \ + $(use rpm4 && echo "--with-rpm4") +} + +src_compile() { + emake -j1 VERBOSE="-classic-display" +} + +src_install() { + emake DESTDIR="${D}" BINDIR="${ED}/usr/bin" install || die + dodoc CHANGES CREDITS README.architecture TODO +} -- cgit v1.2.3