blob: 6773a77ad0a38bcf434b76247187a96e10f2a4d1 (
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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlduce/ocamlduce-3.09.3_p1.ebuild,v 1.1 2007/03/28 16:07:03 aballier Exp $
inherit eutils findlib
MY_P="${P/_p/pl}"
DESCRIPTION="OCamlDuce is a merger between OCaml and CDuce"
HOMEPAGE="http://www.cduce.org/ocaml.html"
SRC_URI="http://gallium.inria.fr/~frisch/ocamlcduce/download/${MY_P}.tar.gz"
LICENSE="QPL-1.0 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="=dev-lang/ocaml-3.09.3
>=dev-ml/findlib-1.1.2"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
src_compile() {
emake -j1 all opt || die "emake failed"
}
src_install() {
mkdir -p "${D}/usr/bin"
findlib_src_install BINDIR="${D}/usr/bin"
}
|