dev-ml/inotify: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-09 12:25:46 +02:00
parent 18495cbe17
commit 2aaa05bc83
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
COMMIT="b340204c72ae3ff27def6e116c1998485fc3227e"
MYPN="ocaml-${PN}"
DESCRIPTION="OCaml bindings for inotify"
HOMEPAGE="https://github.com/whitequark/ocaml-inotify"
SRC_URI="https://github.com/whitequark/${MYPN}/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz"
S="${WORKDIR}/${MYPN}-${COMMIT}"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
DEPEND="
dev-ml/base-unix
dev-ml/base-bytes
"
RDEPEND="
${DEPEND}
test? (
>=dev-ml/ounit-2
dev-ml/ocaml-fileutils
dev-ml/lwt
)
"
RESTRICT="!test? ( test )"