diff options
Diffstat (limited to 'dev-ml/camlzip/camlzip-1.03.ebuild')
-rw-r--r-- | dev-ml/camlzip/camlzip-1.03.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-ml/camlzip/camlzip-1.03.ebuild b/dev-ml/camlzip/camlzip-1.03.ebuild new file mode 100644 index 000000000000..2ba95437a3ee --- /dev/null +++ b/dev-ml/camlzip/camlzip-1.03.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlzip/camlzip-1.03.ebuild,v 1.1 2007/05/26 20:34:04 aballier Exp $ + +inherit findlib eutils + +IUSE="" + +DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)" +HOMEPAGE="http://cristal.inria.fr/~xleroy/software.html#camlzip" +SRC_URI="http://caml.inria.fr/distrib/bazar-ocaml/${P}.tar.gz" + +SLOT="1" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND=">=dev-lang/ocaml-3.04 \ + >=sys-libs/zlib-1.1.3" + +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/${PN}-1.01-Makefile-findlib.patch" + sed -e "s/VERSION/${PV}/" ${FILESDIR}/META >> META +} + +src_compile() { + emake all || die "Failed at compilation step !!!" + emake allopt || die "Failed at ML compilation step !!!" +} + +src_install() { + findlib_src_install + + dodoc README +} |