Diff camlzip-1.10 with a camlzip-1.11
| /usr/portage/dev-ml/camlzip/camlzip-1.11.ebuild 2023-10-09 14:52:29.784368358 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2022 Gentoo Authors |
|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=7 |
| ... | ... | |
| 10 | 10 |
SRC_URI="https://github.com/xavierleroy/camlzip/archive/rel$(ver_rs 1- '').tar.gz -> ${P}.tar.gz"
|
| 11 | 11 |
S="${WORKDIR}/${PN}-rel$(ver_rs 1- '')"
|
| 12 | 12 | |
| 13 |
SLOT="1/${PV}"
|
|
| 14 | 13 |
LICENSE="LGPL-2.1" |
| 15 |
KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86" |
|
| 14 |
SLOT="1/${PV}"
|
|
| 15 |
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" |
|
| 16 | 16 |
IUSE="+ocamlopt" |
| 17 | 17 | |
| 18 |
RDEPEND=">=dev-lang/ocaml-4.05:=[ocamlopt?] |
|
| 19 |
>=sys-libs/zlib-1.1.3" |
|
| 18 |
RDEPEND=">=dev-lang/ocaml-4.07:=[ocamlopt?] |
|
| 19 |
>=sys-libs/zlib-1.1.3" |
|
| 20 | 20 |
DEPEND="${RDEPEND}"
|
| 21 | 21 | |
| 22 | 22 |
QA_FLAGS_IGNORED=( |
| 23 |
"/usr/lib.*/ocaml/stublibs/dllcamlzip.so" |
|
| 24 |
"/usr/lib.*/ocaml/zip/zip.cmxs" |
|
| 23 |
"usr/lib.*/ocaml/stublibs/dllcamlzip.so" |
|
| 24 |
"usr/lib.*/ocaml/zip/zip.cmxs" |
|
| 25 | 25 |
) |
| 26 | 26 | |
| 27 | 27 |
src_compile() {
|
| 28 |
emake all |
|
| 28 |
emake allbyt |
|
| 29 | ||
| 29 | 30 |
if use ocamlopt; then |
| 30 | 31 |
emake allopt |
| 31 | 32 |
fi |
| ... | ... | |
| 37 | 38 |
emake DESTDIR="${D}" install-findlib
|
| 38 | 39 |
dosym zip/libcamlzip.a /usr/$(get_libdir)/ocaml/libcamlzip.a |
| 39 | 40 | |
| 40 |
dodoc README Changes |
|
| 41 |
dodoc README.md Changes |
|
| 41 | 42 |
} |