summaryrefslogtreecommitdiff
path: root/dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild
blob: 63891abc2fe4e1247c4addfffc3b187abf7b09b0 (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
34
35
36
37
38
39
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune toolchain-funcs

MYPV="${PV/_p/_cvs}"

DESCRIPTION="OCaml binding for fuse"
HOMEPAGE="
	https://sourceforge.net/projects/ocamlfuse/
	https://github.com/astrada/ocamlfuse
	https://opam.ocaml.org/packages/ocamlfuse
"
SRC_URI="https://github.com/astrada/${PN}/archive/v${MYPV}.tar.gz -> ${PF}.tar.gz"
S="${WORKDIR}/${PN}-${MYPV}"

LICENSE="GPL-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"

RDEPEND="
	dev-ml/camlidl:=
	sys-fs/fuse:0
"
DEPEND="${RDEPEND}"
BDEPEND="
	dev-ml/dune-configurator
	dev-ml/opam
"

PATCHES=( "${FILESDIR}"/${P}-unistd.patch )

src_compile() {
	tc-export CPP
	dune_src_compile
}