blob: efc7a120deac9d5f6c8bf6a0114267822646dff1 (
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
40
|
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit findlib eutils autotools
DESCRIPTION="Pure OCaml functions to manipulate real file (POSIX like) and filename"
HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-fileutils"
SRC_URI="https://github.com/gildor478/ocaml-fileutils/archive/v${PV}.tar.gz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/ocaml-3.12.1:=
>=dev-ml/camomile-0.8.3:=
"
DEPEND="${RDEPEND}
>=dev-ml/ounit-2.0.0"
src_prepare() {
epatch "${FILESDIR}/${P}.patch"
eapply_user
}
src_compile() {
emake -j1 build all
}
src_install() {
findlib_src_preinst
emake -j1 DESTDIR="${D}" \
BINDIR="${ED}/usr/bin" \
PODIR="${ED}/usr/share/locale/" \
DOCDIR="${ED}/usr/share/doc/${PF}" \
MANDIR="${ED}/usr/share/man" \
install
}
|