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/batteries/batteries-2.4.0.ebuild

32 lines
824 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit oasis
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.03' && epatch \
"${FILESDIR}/oc43-1.patch" \
"${FILESDIR}/oc43-2.patch" \
"${FILESDIR}/oc43-3.patch"
}