summaryrefslogtreecommitdiff
path: root/dev-ml/camlpdf/camlpdf-1.7.ebuild
blob: 35a260a05351b16102048d307a7de57928ef686e (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit findlib

DESCRIPTION="OCaml library for working with PDF files"
HOMEPAGE="http://github.com/johnwhitington/camlpdf"
SRC_URI="http://github.com/johnwhitington/camlpdf/archive/v${PV}.tar.gz"

LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

DEPEND=""
RDEPEND="${DEPEND}"

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

src_install() {
	findlib_src_install
}