summaryrefslogtreecommitdiff
blob: b30623969e8410407ae790569b8ef71d5f547355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit opam

DESCRIPTION="The Herd toolsuite to deal with .cat memory models"
HOMEPAGE="http://diy.inria.fr/sources/index.html"
SRC_URI="https://github.com/herd/herdtools7/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="CeCILL-B"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-ml/ocamlbuild"
RDEPEND=">=dev-lang/ocaml-4.02.0"

PATCHES=(
	"${FILESDIR}/${P}-mkdir.patch"
)

src_compile() {
	./build.sh /usr || die "Build failed"
}

src_install() {
	./install.sh "${ED}/usr" || die "Install failed"
}