blob: 7481ebe896426b263eff9cb5671a44809b93c0e7 (
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-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
OASIS_BUILD_DOCS=1
inherit oasis
DESCRIPTION="OCaml Binding to Cairo"
HOMEPAGE="https://github.com/Chris00/ocaml-cairo"
SRC_URI="https://github.com/Chris00/ocaml-cairo/releases/download/0.5/cairo2-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="gtk"
DEPEND="
gtk? ( dev-ml/lablgtk:= )
x11-libs/cairo
"
RDEPEND="${DEPEND}"
DOCS=( README.md )
S="${WORKDIR}/cairo2-${PV}/"
src_configure() {
oasis_configure_opts="$(use_enable gtk lablgtk2)" oasis_src_configure
}
|