/[gentoo-x86]/dev-ml/extlib/extlib-1.6.1.ebuild
Gentoo

Contents of /dev-ml/extlib/extlib-1.6.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Nov 28 17:32:24 2014 UTC (5 years, 1 month ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +5 -2 lines
update deps for ocaml 4.02

Signed-off-by: aballier@gentoo.org
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/extlib-1.6.1.ebuild,v 1.4 2014/04/13 16:20:44 ago Exp $
4
5 EAPI=5
6
7 inherit findlib eutils
8
9 DESCRIPTION="Standard library extensions for O'Caml"
10 HOMEPAGE="http://code.google.com/p/ocaml-extlib/"
11 SRC_URI="http://ocaml-extlib.googlecode.com/files/${P}.tar.gz"
12 LICENSE="LGPL-2.1"
13 DEPEND="
14 >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
15 || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
16 "
17 RDEPEND="${DEPEND}"
18 SLOT="0/${PV}"
19 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
20 IUSE="doc +ocamlopt"
21
22 src_compile() {
23 emake -j1 all
24 if use ocamlopt; then
25 emake opt
26 fi
27
28 if use doc; then
29 emake doc
30 fi
31 }
32
33 src_install () {
34 findlib_src_install
35
36 # install documentation
37 dodoc README.txt
38
39 if use doc; then
40 dohtml doc/*
41 fi
42 }

  ViewVC Help
Powered by ViewVC 1.1.20