mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-ml/mirage-block: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
dev-ml/mirage-block/Manifest
Normal file
1
dev-ml/mirage-block/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST mirage-block-3.0.0.tar.gz 9920 BLAKE2B e35702a2a363117270c9d6f637d509c8a5f236535018907d47ea1d5a83dc5efbb8eddbb4b9562ce3b6b991197abfbd83b4c6c8679fddee034037465586842192 SHA512 e8580ac754a2d5e90dfb0fa5c0709014bdcd5c76c818ab5f471392d218e5cd8cfe4de8d5cebfdb713cedc3b1ecf50541818d9d835a99a5dd6636ba7fc15a0958
|
||||
14
dev-ml/mirage-block/metadata.xml
Normal file
14
dev-ml/mirage-block/metadata.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">mirage/mirage-block</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="combinators">Build the package specialised to the Lwt concurrency library for IO</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
38
dev-ml/mirage-block/mirage-block-3.0.0.ebuild
Normal file
38
dev-ml/mirage-block/mirage-block-3.0.0.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune multiprocessing
|
||||
|
||||
DESCRIPTION="Block implementations for mirage"
|
||||
HOMEPAGE="https://github.com/mirage/mirage-block"
|
||||
SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="combinators ocamlopt"
|
||||
|
||||
RDEPEND="
|
||||
dev-ml/cstruct
|
||||
dev-ml/lwt
|
||||
dev-ml/fmt
|
||||
|
||||
combinators? (
|
||||
dev-ml/io-page
|
||||
dev-ml/logs
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
local pkgs="mirage-block"
|
||||
use combinators && pkgs="${pkgs},mirage-block-combinators"
|
||||
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dune_src_install mirage-block
|
||||
use combinators && dune_src_install mirage-block-combinators
|
||||
}
|
||||
Reference in New Issue
Block a user