mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
dev-ml/cmdliner: bump to 2.1.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
47369440e7
commit
823783e112
@ -1,2 +1,3 @@
|
|||||||
DIST cmdliner-1.3.0.tbz 58515 BLAKE2B 297b8903e1446a94be5580557b2d94a686833997d9b5f688564f31f6c13bf1e6d1f589143b223a78b7dc6f259c5ca664529b3273e5bf29d5a503d9612ba65ef6 SHA512 4c46bc334444ff772637deae2f5ba03645d7a1b7db523470a1246acfce79b971c764d964cbb02388639b3161b279700d9ade95da550446fb32aa4849c8a8f283
|
DIST cmdliner-1.3.0.tbz 58515 BLAKE2B 297b8903e1446a94be5580557b2d94a686833997d9b5f688564f31f6c13bf1e6d1f589143b223a78b7dc6f259c5ca664529b3273e5bf29d5a503d9612ba65ef6 SHA512 4c46bc334444ff772637deae2f5ba03645d7a1b7db523470a1246acfce79b971c764d964cbb02388639b3161b279700d9ade95da550446fb32aa4849c8a8f283
|
||||||
DIST cmdliner-2.0.0.tbz 93833 BLAKE2B 9e6621c7227d829fee2943667b8b3600cc23ef8509967f28a7f61f6faa18675b847a90f4f324d9c103f903b838186e18a3bf16e6d4efde21d574226f628f5aac SHA512 a7bd4eeb0cef7c08bca73b0077a65f748c19a230544133b39fc3360feb2cf0af08416a8b84031c94a2f4a007d5920a4db1368d87b9eeca561671828e2dad2885
|
DIST cmdliner-2.0.0.tbz 93833 BLAKE2B 9e6621c7227d829fee2943667b8b3600cc23ef8509967f28a7f61f6faa18675b847a90f4f324d9c103f903b838186e18a3bf16e6d4efde21d574226f628f5aac SHA512 a7bd4eeb0cef7c08bca73b0077a65f748c19a230544133b39fc3360feb2cf0af08416a8b84031c94a2f4a007d5920a4db1368d87b9eeca561671828e2dad2885
|
||||||
|
DIST cmdliner-2.1.0.tbz 98220 BLAKE2B 6c78495b5f6c0d23cf7e3a2faca12438872819d26fa91ee475a5ba91f0dc5b26e6f5d3642438ed832f9900694286ac64efd9934c12893857d0840d824e8d8670 SHA512 2ca8c9a2b392e031f88aa0e76f2ab50c8e9e28d77852d04ca2d5b62326630ca41567ce0832e9a9334d9b130b48deede66c7880a9d0aee75a1afe7541097e249f
|
||||||
|
|||||||
41
dev-ml/cmdliner/cmdliner-2.1.0.ebuild
Normal file
41
dev-ml/cmdliner/cmdliner-2.1.0.ebuild
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit findlib
|
||||||
|
|
||||||
|
DESCRIPTION="Declarative definition of command line interfaces for OCaml"
|
||||||
|
HOMEPAGE="http://erratique.ch/software/cmdliner"
|
||||||
|
SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||||
|
IUSE="+ocamlopt"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-ml/result:=
|
||||||
|
dev-ml/findlib:=
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-ml/topkg
|
||||||
|
dev-ml/ocamlbuild"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake build-byte
|
||||||
|
if use ocamlopt ; then
|
||||||
|
emake build-native-dynlink
|
||||||
|
emake build-native
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Can't use opam-installer here as it is an opam dep...
|
||||||
|
findlib_src_preinst
|
||||||
|
local nativelibs=""
|
||||||
|
use ocamlopt && nativelibs="$(echo _build/src/cmdliner.cm{x,xa,xs} _build/src/cmdliner.a)"
|
||||||
|
ocamlfind install cmdliner pkg/META \
|
||||||
|
_build/src/cmdliner.mli _build/src/cmdliner.cm{a,i} ${nativelibs} || die
|
||||||
|
dodoc README.md CHANGES.md
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user