mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-ml/camlzip: add 1.14
Upstream changed tagging scheme from relXY to vX.Y. Enable tests. Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Part-of: https://codeberg.org/gentoo/gentoo/pulls/324 Merges: https://codeberg.org/gentoo/gentoo/pulls/324 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
committed by
Maciej Barć
parent
fae08a90a1
commit
adcaaf4a26
@@ -1 +1,2 @@
|
||||
DIST camlzip-1.13.tar.gz 31570 BLAKE2B 8aee80e75aa8afe9c0c1efbc8e70d962a3b5a6558b0d9fd0153a52adb9d72834680ab7720a3e3bdd8256c985a4a08021efe56209b5b9774cdf15a4f1bcbe08a0 SHA512 dc0fff718b089b89b753fe7d70f100f005b4bb4efcb29afb30bb1ccfd0a7c9a1aa8685c033b0c2c86f0573a7bb0772e499d1149bac159ec8fc11426f71903e51
|
||||
DIST camlzip-1.14.tar.gz 32822 BLAKE2B b4f442c963e3212cd1cb0fbabd828bf2fd033918a94997a7c83d7b75f6abf046cef2a7c78c983e439822e0a8917240ba45dcefe2ae243e5b94eed76178bfae5f SHA512 b623efc5c5cfc28bad54dcb74f3d08e8cc4b9216d739e23cf3886d2490ef78c518ec37a344121fe1dab0a40e61b5c6e9908c8f12305a0754aaf9278a32c1dba6
|
||||
|
||||
45
dev-ml/camlzip/camlzip-1.14.ebuild
Normal file
45
dev-ml/camlzip/camlzip-1.14.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit findlib
|
||||
|
||||
DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)"
|
||||
HOMEPAGE="https://github.com/xavierleroy/camlzip"
|
||||
SRC_URI="https://github.com/xavierleroy/camlzip/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-4.13:=[ocamlopt?]
|
||||
>=virtual/zlib-1.1.3:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
QA_FLAGS_IGNORED=(
|
||||
"usr/lib.*/ocaml/stublibs/dllcamlzip.so"
|
||||
"usr/lib.*/ocaml/zip/zip.cmxs"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake allbyt
|
||||
|
||||
if use ocamlopt; then
|
||||
emake allopt
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -C test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_preinst
|
||||
|
||||
emake DESTDIR="${D}" install-findlib
|
||||
dosym zip/libcamlzip.a /usr/$(get_libdir)/ocaml/libcamlzip.a
|
||||
|
||||
dodoc README.md Changes
|
||||
}
|
||||
Reference in New Issue
Block a user