summaryrefslogtreecommitdiff
path: root/dev-ml/biniou/biniou-1.0.5.ebuild
blob: ed6e866f2d9f6feddcacd40cee867c25f1b18ecd (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
33
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit findlib

DESCRIPTION="A binary JSON like data format for OCaml"
HOMEPAGE="http://mjambon.com/biniou.html"
SRC_URI="http://mjambon.com/releases/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

DEPEND="dev-lang/ocaml
		dev-ml/easy-format"

RDEPEND="${DEPEND}"

src_compile() {
	emake -j1
	use doc && make html
}

src_install() {
	findlib_src_preinst
	mkdir "${D}/usr/bin"
	emake install PREFIX="${D}/usr"
	use doc && dohtml -r html/
}