summaryrefslogtreecommitdiff
blob: f4e8a84c5b07008b768d0ffccf3db656f2fd68a4 (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"

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

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

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

src_compile() {
	./build.sh /usr
}

src_install() {
	./install.sh "${ED}/usr"
}