mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
dev-ml/tar: add 1.1.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
|
DIST tar-1.1.0.tar.gz 24429 BLAKE2B 778f77f650c775e22cfd71741ce3b0aa5e75026c4be697c3d9d5532407c07f68c59700a78eff5c48bcfefa6db7b5116fed3d9c0bba708bb94b5cce41bea5dbbe SHA512 d02a5c2bef9a77b2bb32f7f85d741eb58d42ffcff916a3cfe618ff4b372d72e53176dfc050e876efcbbaf5057aa21b5615e99ebb435eb63aa10815b0ce102ba7
|
||||||
DIST tar-2.0.1.tar.gz 26751 BLAKE2B a381c258c75350198c25c105f8ca33f33dd8d946f88cb102186ece414def2fa5e25191c2ed43d5d0e9286a0bc352ffec8b6999d17f18479642900b59f4d1cc17 SHA512 fd2e302497eb673a4e8000d0bcfd9012b1f118021e1d071a7c56cc6652ec6da9c6f755c18aa4b275daf1f722409d71cbb4519285096682344bfa65bbe800cbd1
|
DIST tar-2.0.1.tar.gz 26751 BLAKE2B a381c258c75350198c25c105f8ca33f33dd8d946f88cb102186ece414def2fa5e25191c2ed43d5d0e9286a0bc352ffec8b6999d17f18479642900b59f4d1cc17 SHA512 fd2e302497eb673a4e8000d0bcfd9012b1f118021e1d071a7c56cc6652ec6da9c6f755c18aa4b275daf1f722409d71cbb4519285096682344bfa65bbe800cbd1
|
||||||
|
|||||||
63
dev-ml/tar/tar-1.1.0.ebuild
Normal file
63
dev-ml/tar/tar-1.1.0.ebuild
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit dune multiprocessing
|
||||||
|
|
||||||
|
MYPN="ocaml-${PN}"
|
||||||
|
|
||||||
|
DESCRIPTION="Pure OCaml library to read and write tar files"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/mirage/ocaml-tar
|
||||||
|
https://opam.ocaml.org/packages/tar/
|
||||||
|
"
|
||||||
|
SRC_URI="https://github.com/mirage/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MYPN}-${PV}"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="mirage ocamlopt test unix"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-ml/camlp-streams:=
|
||||||
|
dev-ml/cstruct:=
|
||||||
|
dev-ml/re:=
|
||||||
|
dev-ml/lwt:=
|
||||||
|
|
||||||
|
mirage? (
|
||||||
|
dev-ml/io-page:=
|
||||||
|
dev-ml/mirage-block:=
|
||||||
|
dev-ml/mirage-kv:=
|
||||||
|
dev-ml/ptime:=
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
test? (
|
||||||
|
dev-ml/mirage-block-unix
|
||||||
|
dev-ml/ounit2
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
REQUIRED_USE="
|
||||||
|
test? ( mirage unix )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local pkgs="tar"
|
||||||
|
for u in mirage unix ; do
|
||||||
|
if use ${u} ; then
|
||||||
|
pkgs="${pkgs},tar-${u}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dune_src_install tar
|
||||||
|
use mirage && dune_src_install tar-mirage
|
||||||
|
use unix && dune_src_install tar-unix
|
||||||
|
}
|
||||||
@@ -8,7 +8,10 @@ inherit dune multiprocessing
|
|||||||
MYPN="ocaml-${PN}"
|
MYPN="ocaml-${PN}"
|
||||||
|
|
||||||
DESCRIPTION="Pure OCaml library to read and write tar files"
|
DESCRIPTION="Pure OCaml library to read and write tar files"
|
||||||
HOMEPAGE="https://github.com/mirage/ocaml-tar"
|
HOMEPAGE="
|
||||||
|
https://github.com/mirage/ocaml-tar
|
||||||
|
https://opam.ocaml.org/packages/tar/
|
||||||
|
"
|
||||||
SRC_URI="https://github.com/mirage/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/mirage/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
S="${WORKDIR}/${MYPN}-${PV}"
|
S="${WORKDIR}/${MYPN}-${PV}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user