summaryrefslogtreecommitdiff
blob: 0038063b83d0033f7f76be71bd1dcab3da151e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

OASIS_BUILD_DOCS=1
OASIS_BUILD_TESTS=1

inherit oasis

DESCRIPTION="OCaml bindings for the GSL library (successor of dev-ml/ocamlgsl)"
HOMEPAGE="https://github.com/mmottl/gsl-ocaml"
SRC_URI="https://github.com/mmottl/${PN}/releases/download/v${PV}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"

DEPEND=">=sci-libs/gsl-1.19"
RDEPEND="${DEPEND}
	!dev-ml/ocamlgsl"

DOCS=( CHANGES.txt README.md NOTES.md TODO.md )

src_prepare() {
	oasis_configure_opts="$(use_enable examples)"
}