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/core/core-109.38.00.ebuild

40 lines
1.1 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/core/core-109.38.00.ebuild,v 1.1 2013/08/19 15:28:17 aballier Exp $
EAPI="5"
OASIS_BUILD_DOCS=1
OASIS_BUILD_TESTS=1
inherit eutils oasis
MY_P=${P/_/\~}
DESCRIPTION="Jane Street's alternative to the standard library"
HOMEPAGE="http://www.janestreet.com/ocaml"
SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${MY_P}.tar.gz
http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-ml/res:=
>=dev-ml/core_kernel-109.35.00:=
>=dev-ml/sexplib-109.20.00:=
>=dev-ml/bin-prot-109.15.00:=
>=dev-ml/fieldslib-109.20.00:=
>=dev-ml/pa_ounit-109.27.00:=
>=dev-ml/variantslib-109.15.00:=
>=dev-ml/comparelib-109.27.00:=
>=dev-ml/herelib-109.35.00:=
>=dev-ml/pipebang-109.15.00:="
DEPEND="${RDEPEND}
test? ( >=dev-ml/ounit-1.1.2 )"
DOCS=( "README.md" )
src_prepare() {
has_version '>=dev-lang/ocaml-4.01.0_beta' && epatch "${FILESDIR}/${PN}-ocaml-4.01.patch"
}