blob: 732f50ae0a980ce1882a60654bf004f71a3cbefa (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/obrowser/obrowser-1.1.1.ebuild,v 1.2 2011/06/26 20:08:09 aballier Exp $
EAPI=3
inherit findlib
DESCRIPTION="OCaml virtual machine written in Javascript, to run OCaml program in browsers"
HOMEPAGE="http://ocsigen.org/obrowser/"
SRC_URI="http://ocsigen.org/download/${P}.tar.gz"
LICENSE="LGPL-2.1 GPL-3 WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/ocaml-3.12.0"
DEPEND="${RDEPEND}
app-arch/sharutils"
src_compile() {
touch .check_version
emake -j1 EXAMPLES_TARGETS="" || die
}
src_install() {
findlib_src_preinst
OCAMLPATH=${OCAMLFIND_DESTDIR} emake DESTDIR="${D}" install || die
dodoc README.TXT || die
}
|