You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ml/ocaml-make/ocaml-make-6.29.3.ebuild

30 lines
851 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-make/ocaml-make-6.29.3.ebuild,v 1.1 2009/06/21 11:54:53 aballier Exp $
DESCRIPTION="Generic O'Caml Makefile for GNU Make"
HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html"
LICENSE="LGPL-2.1"
DEPEND=""
RDEPEND=">=dev-lang/ocaml-3.06-r1
>=dev-ml/findlib-0.8"
SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="examples"
src_install () {
# Just put the OCamlMakefile into /usr/include
# where GNU Make will automatically pick it up.
insinto /usr/include
doins OCamlMakefile
# install documentation
dodoc README.txt Changelog
if use examples; then
insinto /usr/share/doc/${PF}
doins -r calc camlp4 gtk idl threads
fi
}