27 lines
765 B
Bash
27 lines
765 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
inherit oasis eutils
|
|
|
|
DESCRIPTION="The community-maintained foundation library for your OCaml projects"
|
|
HOMEPAGE="https://github.com/ocaml-batteries-team/batteries-included/"
|
|
SRC_URI="https://github.com/ocaml-batteries-team/batteries-included/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1-with-linking-exception"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64"
|
|
IUSE="test"
|
|
|
|
RDEPEND="dev-ml/camomile:="
|
|
DEPEND="${RDEPEND}
|
|
test? ( dev-ml/ounit dev-ml/iTeML )"
|
|
|
|
DOCS=( "ChangeLog" "FAQ" "README.folders" "README.md" )
|
|
|
|
S="${WORKDIR}/${PN}-included-${PV}"
|
|
|
|
src_prepare() {
|
|
has_version '>=dev-lang/ocaml-4.05_beta' && epatch "${FILESDIR}/ocaml405.patch"
|
|
}
|