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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jun 25 16:58:11 2013 UTC (6 years, 7 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for amd64, wrt bug #474170

(Portage version: 2.1.12.9/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 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.5.4.ebuild,v 1.3 2013/06/25 16:50:46 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=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]"
14 RDEPEND="${DEPEND}"
15 SLOT="0/${PV}"
16 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
17 IUSE="doc +ocamlopt"
18
19 src_compile() {
20 emake all
21 if use ocamlopt; then
22 emake opt
23 fi
24
25 if use doc; then
26 emake doc
27 fi
28 }
29
30 src_install () {
31 findlib_src_install
32
33 # install documentation
34 dodoc README.txt
35
36 if use doc; then
37 dohtml doc/*
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20