summaryrefslogtreecommitdiff
blob: a14024cc5d57fe231900f0b038428aed38597d14 (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
30
31
32
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit oasis

DESCRIPTION="jQuery Binding for Eliom."
HOMEPAGE="https://github.com/ocsigen/ojquery"

if [ "${PV#9999}" != "${PV}" ] ; then
	inherit git-r3
	SRC_URI=""
	EGIT_REPO_URI="https://github.com/ocsigen/ojquery"
	KEYWORDS=""
else
	SRC_URI="https://github.com/ocsigen/ojquery/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="LGPL-3"
SLOT="0/${PV}"
IUSE=""

RDEPEND="dev-ml/react:=
	dev-ml/js_of_ocaml:=
	dev-ml/lwt:="
DEPEND="${RDEPEND} dev-ml/oasis"

src_prepare() {
	oasis setup || die
}