diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-03-15 20:04:27 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-03-15 20:04:27 +0000 |
commit | ce1cb4c5b1e7d6bfea835b98fcd560ea204c0526 (patch) | |
tree | e842d5013732e3148bd15820180861433bab06e2 /dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.2.ebuild | |
parent | Version bump to fix bug #358943. Thanks to Oliver Nautsch <oliver.nautsch@gma... (diff) | |
download | gentoo-2-ce1cb4c5b1e7d6bfea835b98fcd560ea204c0526.tar.gz gentoo-2-ce1cb4c5b1e7d6bfea835b98fcd560ea204c0526.tar.bz2 gentoo-2-ce1cb4c5b1e7d6bfea835b98fcd560ea204c0526.zip |
Initial import, ebuild by Vladimir Ivanov, bug #355755, with modifications and simplifications by me
(Portage version: 2.2.0_alpha27/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.2.ebuild')
-rw-r--r-- | dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.2.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.2.ebuild b/dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.2.ebuild new file mode 100644 index 000000000000..2a44549a5ecf --- /dev/null +++ b/dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-fileutils/ocaml-fileutils-0.4.2.ebuild,v 1.1 2011/03/15 20:04:27 aballier Exp $ + +EAPI=3 + +inherit findlib + +DESCRIPTION="Pure OCaml functions to manipulate real file (POSIX like) and filename" +HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-fileutils" +SRC_URI="http://forge.ocamlcore.org/frs/download.php/462/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test +ocamlopt" + +RDEPEND=">=dev-lang/ocaml-3.11[ocamlopt?] + dev-ml/findlib" +DEPEND="${RDEPEND} + test? ( dev-ml/ounit )" + +src_prepare() { + use ocamlopt || sed -i -e 's/OCAMLBEST=.*/OCAMLBEST=byte/' configure +} + +src_install() { + findlib_src_preinst + emake htmldir="${ED}/usr/share/doc/${PF}/html" install || die + dodoc README CHANGELOG || die "doc isntall failed" +} |