/[gentoo-x86]/eclass/oasis.eclass
Gentoo

Diff of /eclass/oasis.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/oasis.eclass,v 1.3 2012/03/27 22:44:41 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/oasis.eclass,v 1.4 2013/02/07 13:42:12 aballier Exp $
4 4
5# @ECLASS: oasis.eclass 5# @ECLASS: oasis.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# ml@gentoo.org 7# ml@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
44 44
45inherit multilib findlib eutils base 45inherit multilib findlib eutils base
46 46
47case ${EAPI:-0} in 47case ${EAPI:-0} in
48 0|1|2) die "You need at least EAPI-3 to use oasis.eclass";; 48 0|1|2) die "You need at least EAPI-3 to use oasis.eclass";;
49 3|4) RDEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]";;
50 *) RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]";;
49esac 51esac
50 52
51IUSE="+ocamlopt" 53IUSE="+ocamlopt"
52[ -n "${OASIS_NO_DEBUG}" ] || IUSE="${IUSE} debug" 54[ -n "${OASIS_NO_DEBUG}" ] || IUSE="${IUSE} debug"
53[ -n "${OASIS_BUILD_DOCS}" ] && IUSE="${IUSE} doc" 55[ -n "${OASIS_BUILD_DOCS}" ] && IUSE="${IUSE} doc"
54[ -n "${OASIS_BUILD_TESTS}" ] && IUSE="${IUSE} test" 56[ -n "${OASIS_BUILD_TESTS}" ] && IUSE="${IUSE} test"
55 57
56RDEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]"
57DEPEND="${RDEPEND}" 58DEPEND="${RDEPEND}"
58 59
59# @FUNCTION: oasis_use_enable 60# @FUNCTION: oasis_use_enable
60# @USAGE: < useflag > < variable > 61# @USAGE: < useflag > < variable >
61# @DESCRIPTION: 62# @DESCRIPTION:

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20