blob: 2aedad07a94ea6673b00c746840a7c5ad40c3724 (
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
31
32
33
34
35
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit git-2 eutils
DESCRIPTION="Open source programming language for web application development"
HOMEPAGE="http://opalang.org/"
EGIT_REPO_URI="https://github.com/MLstate/opalang.git"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="
>=dev-lang/ocaml-3.12
dev-ml/camlidl
dev-ml/ocaml-ssl
dev-ml/cryptokit[ocamlopt]
dev-ml/camlzip[ocamlopt]
dev-ml/ocamlgraph[ocamlopt]
dev-ml/ulex[ocamlopt]"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/site_lib_fix.patch"
}
src_configure() {
# econf can't be used there: configure doesn't accept "--prefix=..."
# it only accepts "-prefix ..."
./configure -prefix /usr || die "Failed to configure Opa"
}
|