summaryrefslogtreecommitdiff
blob: 7b461efb3ec0d2d0655b85db48c43848a3d0c00c (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-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

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"
RESTRICT="!test? ( 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)"
}