Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/camlzip/
Date: Tue, 07 Feb 2017 13:19:22
Message-Id: 1486473553.0113fd6c739fa174f5fb802fc442b77ec6583565.aballier@gentoo
1 commit: 0113fd6c739fa174f5fb802fc442b77ec6583565
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 7 13:19:03 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 7 13:19:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0113fd6c
7
8 dev-ml/camlzip: Bump to 1.07
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ml/camlzip/Manifest | 1 +
13 dev-ml/camlzip/camlzip-1.07.ebuild | 37 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-ml/camlzip/Manifest b/dev-ml/camlzip/Manifest
17 index 8311173..6839239 100644
18 --- a/dev-ml/camlzip/Manifest
19 +++ b/dev-ml/camlzip/Manifest
20 @@ -1 +1,2 @@
21 DIST camlzip-1.06.tar.gz 26499 SHA256 c83877f9972943e6f2e147cf9715a785da2fc8531e7bed3ab4787043b8f4cf54 SHA512 5ef0172927106589620678897f12f054533503a5cf13df71bf4deda43f223d0cd6acce118977e87bce53afe289f367b851f192a8e693274c2bd13549121019dd WHIRLPOOL a83ad24836d64adc00324f44ce5f3877c8d912afe14dcb0ad5b8788a52dfe777b2b582e240e74ed24bda950ca0202505792e62f9c205f0a5f39c33918e70217a
22 +DIST camlzip-1.07.tar.gz 26652 SHA256 2f4df4df258b8bca89176a5c4200a6920eccb3134f3df70d61a67e16fd1fbfdd SHA512 b92e9db002b9b398fd132c6ecd8098fac4cc7ddb3f770cc412990dcdf4bd62ba358c762d31fb0b5cd6b32f20d3bf4b3410ca6e86c511a438b92ece940f9831bd WHIRLPOOL 94e6a8cb2f70104f864b2dc4e52efd0c93082315b2dc32a7d32f4d7f5398811af1ac992021310a6ad9a4850347e4cc73acb240ac2551d33d45a7eb4f28bdd30e
23
24 diff --git a/dev-ml/camlzip/camlzip-1.07.ebuild b/dev-ml/camlzip/camlzip-1.07.ebuild
25 new file mode 100644
26 index 00000000..447007f
27 --- /dev/null
28 +++ b/dev-ml/camlzip/camlzip-1.07.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI="5"
35 +
36 +inherit findlib eutils versionator
37 +
38 +IUSE="+ocamlopt"
39 +
40 +DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)"
41 +HOMEPAGE="https://github.com/xavierleroy/camlzip"
42 +SRC_URI="https://github.com/xavierleroy/camlzip/archive/rel$(delete_all_version_separators ${PV}).tar.gz -> ${P}.tar.gz"
43 +
44 +SLOT="1/${PV}"
45 +LICENSE="LGPL-2.1"
46 +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
47 +
48 +RDEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]
49 + >=sys-libs/zlib-1.1.3"
50 +DEPEND="${RDEPEND}"
51 +
52 +S="${WORKDIR}/${PN}-rel$(delete_all_version_separators ${PV})"
53 +
54 +src_compile() {
55 + emake all
56 + if use ocamlopt; then
57 + emake allopt
58 + fi
59 +}
60 +
61 +src_install() {
62 + findlib_src_preinst
63 + emake DESTDIR="${D}" install-findlib
64 +
65 + dodoc README Changes
66 +}