diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
commit | e23a08d0c97a0cc415aaa165da840b056f93c997 (patch) | |
tree | 4c5f7db60483518201fef36f8cc0712789a08db2 /dev-ml/camlzip/camlzip-1.11.ebuild | |
parent | 391b5b359a346aff490103da7dddc85047f83830 (diff) |
gentoo resync : 08.10.2021
Diffstat (limited to 'dev-ml/camlzip/camlzip-1.11.ebuild')
-rw-r--r-- | dev-ml/camlzip/camlzip-1.11.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-ml/camlzip/camlzip-1.11.ebuild b/dev-ml/camlzip/camlzip-1.11.ebuild new file mode 100644 index 000000000000..09d1e837bb67 --- /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 +} |