From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1327448-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 54A82158086
	for <garchives@archives.gentoo.org>; Wed,  6 Oct 2021 01:02:40 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A88A4E092E;
	Wed,  6 Oct 2021 01:02:39 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7BA97E092E
	for <gentoo-commits@lists.gentoo.org>; Wed,  6 Oct 2021 01:02:39 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A1E04343271
	for <gentoo-commits@lists.gentoo.org>; Wed,  6 Oct 2021 01:02:38 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C9A8148
	for <gentoo-commits@lists.gentoo.org>; Wed,  6 Oct 2021 01:02:36 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1633482060.15644176b54aadf106ddd2e9e765fe554da56e58.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/camlzip/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ml/camlzip/Manifest dev-ml/camlzip/camlzip-1.11.ebuild
X-VCS-Directories: dev-ml/camlzip/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 15644176b54aadf106ddd2e9e765fe554da56e58
X-VCS-Branch: master
Date: Wed,  6 Oct 2021 01:02:36 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 0fb4bd99-75ea-440f-8b4c-299a77d104d2
X-Archives-Hash: 2a47034a58dbfc3b17043776e7d143ff

commit:     15644176b54aadf106ddd2e9e765fe554da56e58
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  6 00:53:59 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  6 01:01:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15644176

dev-ml/camlzip: add 1.11

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/camlzip/Manifest            |  1 +
 dev-ml/camlzip/camlzip-1.11.ebuild | 42 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-ml/camlzip/Manifest b/dev-ml/camlzip/Manifest
index 2cb16e028b3..d6e4ea7f08f 100644
--- a/dev-ml/camlzip/Manifest
+++ b/dev-ml/camlzip/Manifest
@@ -1 +1,2 @@
 DIST camlzip-1.10.tar.gz 27335 BLAKE2B bbf24953634278589395dd9fcedf1e3becce8dad1f380393dc3ac59589143e1685dc14085ef566e12fb751c6f1a333dd368795a5083b94a43b71e058e86489f3 SHA512 5c42e0d808230e3820b2e7ef34b544ca51a7bf0a484ce4e1c8b1e4966133196bb3ff7c3ca85b9c50050aca389316eb52f0335f6e2ad60c000594a33171b9a9a9
+DIST camlzip-1.11.tar.gz 28483 BLAKE2B b270e2a764547117d87a18f9ccca82891bc0dce182ea84f76b693acb34488ff25d8975154b843787554798bfd34c16dc6a25c431f8674c8c59eb2c195167c12b SHA512 4d69ef900437e66e00cd345497ec70f407f28cd8344ee5f2fad685d3bfe356924597d1854b752f2841b4007f96d6e0307cfae7e13cfb6f74951ae3eba5198a06

diff --git a/dev-ml/camlzip/camlzip-1.11.ebuild b/dev-ml/camlzip/camlzip-1.11.ebuild
new file mode 100644
index 00000000000..09d1e837bb6
--- /dev/null
+++ b/dev-ml/camlzip/camlzip-1.11.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/rel$(ver_rs 1- '').tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-rel$(ver_rs 1- '')"
+
+LICENSE="LGPL-2.1"
+SLOT="1/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="+ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-4.07:=[ocamlopt?]
+	>=sys-libs/zlib-1.1.3"
+DEPEND="${RDEPEND}"
+
+QA_FLAGS_IGNORED=(
+	"usr/lib.*/ocaml/stublibs/dllcamlzip.so"
+	"usr/lib.*/ocaml/zip/zip.cmxs"
+)
+
+src_compile() {
+	emake all
+
+	if use ocamlopt; then
+		emake allopt
+	fi
+}
+
+src_install() {
+	findlib_src_preinst
+
+	emake DESTDIR="${D}" install-findlib
+	dosym zip/libcamlzip.a /usr/$(get_libdir)/ocaml/libcamlzip.a
+
+	dodoc README.md Changes
+}