You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
678 B
35 lines
678 B
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="5"
|
|
|
|
inherit findlib eutils
|
|
|
|
IUSE="+ocamlopt"
|
|
|
|
DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)"
|
|
HOMEPAGE="http://forge.ocamlcore.org/projects/camlzip/"
|
|
SRC_URI="http://forge.ocamlcore.org/frs/download.php/1616/${P}.tar.gz"
|
|
|
|
SLOT="1/${PV}"
|
|
LICENSE="LGPL-2.1"
|
|
KEYWORDS="amd64 ppc x86"
|
|
|
|
RDEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]
|
|
>=sys-libs/zlib-1.1.3"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_compile() {
|
|
emake all
|
|
if use ocamlopt; then
|
|
emake allopt
|
|
fi
|
|
}
|
|
|
|
src_install() {
|
|
findlib_src_preinst
|
|
emake DESTDIR="${D}" install-findlib
|
|
|
|
dodoc README Changes
|
|
}
|