38 lines
658 B
Bash
38 lines
658 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
inherit findlib
|
|
|
|
DESCRIPTION="Unit testing tool for the Objective Caml language"
|
|
HOMEPAGE="http://kaputt.x9c.fr/"
|
|
SRC_URI="http://kaputt.x9c.fr/distrib/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt]"
|
|
DEPEND="${RDEPEND}
|
|
|| ( dev-ml/ocamlbuild <dev-lang/ocaml-4.02.3-r1 )"
|
|
|
|
src_configure() {
|
|
chmod +x configure
|
|
./configure || die
|
|
}
|
|
|
|
src_compile() {
|
|
emake all
|
|
}
|
|
|
|
src_test() {
|
|
emake -j1 tests
|
|
}
|
|
|
|
src_install() {
|
|
findlib_src_install
|
|
dodoc README FEATURES CHANGES
|
|
}
|