diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ml/camlzip/camlzip-1.07.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ml/camlzip/camlzip-1.07.ebuild')
-rw-r--r-- | dev-ml/camlzip/camlzip-1.07.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-ml/camlzip/camlzip-1.07.ebuild b/dev-ml/camlzip/camlzip-1.07.ebuild new file mode 100644 index 000000000000..23881c07e55b --- /dev/null +++ b/dev-ml/camlzip/camlzip-1.07.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit findlib eutils versionator + +IUSE="+ocamlopt" + +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$(delete_all_version_separators ${PV}).tar.gz -> ${P}.tar.gz" + +SLOT="1/${PV}" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-fbsd" + +RDEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?] + >=sys-libs/zlib-1.1.3" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-rel$(delete_all_version_separators ${PV})" + +src_compile() { + emake all + if use ocamlopt; then + emake allopt + fi +} + +src_install() { + findlib_src_preinst + emake DESTDIR="${D}" install-findlib + + dodoc README Changes +} |