summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-04-22 14:39:01 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-04-22 15:01:44 +0200
commit3c2c54d8e1c38c77d873503da382185a17c76721 (patch)
tree05956e77196c254644a858d0f6d1ec7edaa7cec2 /dev-ml/dose3
parentdev-ml/cppo: bump to 1.3.2 (diff)
downloadgentoo-3c2c54d8e1c38c77d873503da382185a17c76721.tar.gz
gentoo-3c2c54d8e1c38c77d873503da382185a17c76721.tar.bz2
gentoo-3c2c54d8e1c38c77d873503da382185a17c76721.zip
dev-ml/dose3: bump to 4.3
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ml/dose3')
-rw-r--r--dev-ml/dose3/Manifest1
-rw-r--r--dev-ml/dose3/dose3-4.3.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-ml/dose3/Manifest b/dev-ml/dose3/Manifest
index e4f7a9032a2d..693252965a87 100644
--- a/dev-ml/dose3/Manifest
+++ b/dev-ml/dose3/Manifest
@@ -1 +1,2 @@
DIST dose3-4.2.tar.gz 281555 SHA256 ed37414baded4a175b47d4e2856c1e827fc7fb9939cc9e176a1d46e5048d8526 SHA512 d64443899f874254834165c44d0400eff5fa80e1d1d41f76b94fbb11ae0b34aa75dcbb8cc9a5e510e2f91d147e11391f36c45ef0fb24536fffcfc68d686c5fa1 WHIRLPOOL cce3baa6dfe922a3b04e8683aea785bbfd3050a70a0c0b533457fe41f274eca1e62343bca34e08307e9818252d09c2d6b24b4b2fb0efb1321fd38fd478b7428e
+DIST dose3-4.3.tar.gz 293844 SHA256 269dd817d7130ae9289eab2aea540a7f1f00ceac6644320cf8119dc5b597b6e4 SHA512 96e0ef2d884214efc4cf140582d9fedc15b1fe33d21b6b23309cd2d745bafd5871b58b0234fb0b76711bcd07087d04f07fabd1c2c1c757157c9e50b90931357d WHIRLPOOL 4cb42a3b2bd63aca1d0270a62ea7d2a174e7c4bd389109071e80167b4218676919c69fd5f19d4c63fbd186cb62c239155e8dadcb2145b08ac24579e031d4419f
diff --git a/dev-ml/dose3/dose3-4.3.ebuild b/dev-ml/dose3/dose3-4.3.ebuild
new file mode 100644
index 000000000000..681c3b5d8124
--- /dev/null
+++ b/dev-ml/dose3/dose3-4.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+MY_P="${P/_beta/-beta}"
+DESCRIPTION="Library and a collection of tools to perform la large spectrum of 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/35797/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt +parmap zip bzip2 xml curl rpm4 test"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.12:=[ocamlopt?]
+ dev-ml/cudf:=
+ >=dev-ml/extlib-1.7.0:=
+ dev-ml/ocaml-re:=
+ dev-ml/cppo:=
+ 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
+ test? ( dev-python/pyyaml[libyaml] )
+"
+# missing test data
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -e 's/INSTALLOPTS=-s/INSTALLOPTS=/' -i Makefile.config.in || die
+}
+
+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
+}
+
+src_install() {
+ emake DESTDIR="${D}" BINDIR="${ED}/usr/bin" install || die
+ dodoc CHANGES CREDITS README.architecture TODO
+}