/[gentoo-x86]/dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.2.ebuild
Gentoo

Contents of /dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri May 18 17:11:10 2012 UTC (2 years, 3 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
remove old

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.2.ebuild,v 1.2 2011/03/15 20:05:37 aballier Exp $
4
5 EAPI=3
6
7 inherit findlib
8
9 DESCRIPTION="Pure OCaml functions to manipulate real file (POSIX like) and filename"
10 HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-fileutils"
11 SRC_URI="http://forge.ocamlcore.org/frs/download.php/462/${P}.tar.gz"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~amd64"
16 IUSE="test +ocamlopt"
17
18 RDEPEND=">=dev-lang/ocaml-3.11[ocamlopt?]"
19 DEPEND="${RDEPEND}
20 test? ( dev-ml/ounit )"
21
22 src_prepare() {
23 use ocamlopt || sed -i -e 's/OCAMLBEST=.*/OCAMLBEST=byte/' configure
24 }
25
26 src_install() {
27 findlib_src_preinst
28 emake htmldir="${ED}/usr/share/doc/${PF}/html" install || die
29 dodoc README CHANGELOG || die "doc isntall failed"
30 }

  ViewVC Help
Powered by ViewVC 1.1.20